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 오류의 메시지를 반환합니다.
