JSON array from jqeury to PHP by ajax : i tried to pass JSON array from jquery to php by ajax
but i can't figure out to get specific object from the json in php

my code:

client side:
var items = [];

items.push({
                    name: "Test1",
                    ID: "34",
                    price: "678"
                });

                items.push({
                    name: "Test2",
                    ID: "34",
                    price: "678"
                });

$.ajax({
            url: "http://localhost/SendObjects.php",
            type: "POST",
            data: JSON.stringify(items),
            success: function (data) {
                var suc = data;
                $('#body').append(suc);
            }
         });

PHP:
$_POST = file_get_contents('php://input');
echo $_POST

Thanks!

