Méthode | Description | |
---|---|---|
decode ( string $string, boolean $asArray = false ) : mixed | Decodes a JSON string, or throws JsonDecodeException on failure | |
encode ( array | JsonSerializable $value ) : string | Returns the JSON representation of the $value | |
lastError ( ) : integer | Returns a JSON error code for the last operation. | |
safeDecode ( string $string, boolean $asArray = false ) : mixed | Decodes a JSON string |
Méthode | Description | |
---|---|---|
lastErrorMessage ( ) |