PHP JSON
4個の関数
json_encodejson_encode(mixed $value, int $flags = 0): string|false値をJSON文字列にエンコードします。
json_decodejson_decode(string $json, ?bool $associative): mixedJSON文字列をPHP変数にデコードします。
json_last_errorjson_last_error(): int最後のJSONエンコード・デコードのエラーコードを返します。
json_last_error_msgjson_last_error_msg(): string最後のJSONエラーのメッセージを返します。
