ニュース

wp_json_encode( mixed $data, int $options, int $depth = 512 ) WordPress - wp_json_encode( mixed $data, int $options, int $depth = 512 ) いくつかのサニティ ...
Note: as of PHP v7.3 there is now a JSON_THROW_ON_ERROR option for both native commands which should effectively render this package obsolete. All parameters are the same as specified for the PHP ...
//$a = json_decode('[{"id":1,"name":"name_1"},{"id":2,"name":"name_2","children":[{"id":3,"name":"name_3"},{"id":4,"name":"name_4"},{"id":5,"name":"name_5","children ...