PHP JSON
4 functions
json_encodejson_encode(mixed $value, int $flags = 0): string|falseReturns the JSON representation of a value.
json_decodejson_decode(string $json, ?bool $associative): mixedDecodes a JSON string.
json_last_errorjson_last_error(): intReturns the last error occurred during JSON encoding/decoding.
json_last_error_msgjson_last_error_msg(): stringReturns the error string of the last json_encode() or json_decode() call.
