Hi! Could we please enable some services and cookies to improve your experience and our website?
Online Sandbox for SQL and PHP: Write, Run, Test, and Share SQL Queries and PHP Code
<?php
$data = '{
"id": 1010,
"isErasable": true,
"position": "0",
"cast": "string",
"names": [
{
"id": 215,
"typeId": 1010,
"lang": "de",
"name": "Packed"
},
{
"id": 216,
"typeId": 1010,
"lang": "en",
"name": "Packed"
}
]
}';
print_r json_encode($data);