| 1 | <?php  | 
            ||
| 5 | class JSON  | 
            ||
| 6 | { | 
            ||
| 7 | |||
| 8 | /**  | 
            ||
| 9 | * @param mixed $value  | 
            ||
| 10 | * @param int $options  | 
            ||
| 11 | *  | 
            ||
| 12 | * @return string  | 
            ||
| 13 | */  | 
            ||
| 14 | 3 | public static function encode($value, $options = JSON_UNESCAPED_UNICODE | JSON_NUMERIC_CHECK)  | 
            |
| 23 | |||
| 24 | /**  | 
            ||
| 25 | * @param string $json  | 
            ||
| 26 | * @param bool $assoc  | 
            ||
| 27 | * @param int $options  | 
            ||
| 28 | *  | 
            ||
| 29 | * @return mixed  | 
            ||
| 30 | */  | 
            ||
| 31 | 1 | public static function decode($json, $assoc = true, $options = 0)  | 
            |
| 35 | |||
| 36 | /**  | 
            ||
| 37 | * @return bool  | 
            ||
| 38 | */  | 
            ||
| 39 | public static function errorNone(): bool  | 
            ||
| 43 | |||
| 44 | }  | 
            ||
| 45 |