death_satan/json-tool

Json Fast Tool Library

Installs: 3

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/death_satan/json-tool

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

This package is auto-updated.

Last update: 2025-09-29 03:20:11 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
 */