- json_decode: documentation ( source)
- print_r: documentation ( source)
<?php
$json = '
[
{"identifier":1,"title":"hello","tags":["a","b","c"],"cats":["a","b","c"]},
{"identifier":2,"title":"semblance","tags":["a","b","c"],"cats":["a","b","c"]}
]';
$args = json_decode($json);
foreach($args as $arg) {
print_r($arg);
print_r($arg->a);
}