death_satan/json-tool

Json Fast Tool Library

v1.0.0 2023-08-01 06:44 UTC

This package is auto-updated.

Last update: 2024-10-30 02:22:35 UTC


README

方法

/**
 * @method bool isJson(string $json) static
 * @method object stringToObject(string $json,int $depth = 512,int $options = 0) static
 * @method mixed decode(string $json,bool $assoc = true,int $depth = 512,int $options = 0) static
 * @method string encode($value,int $options = JSON_UNESCAPED_UNICODE,int $depth = 512) static
 * @method string objectToJson(object $object,int $options = JSON_UNESCAPED_UNICODE,int $depth = 512) static
 * @method string arrayToJson(array $data,int $options = JSON_UNESCAPED_UNICODE,int $depth = 512) static
 */