go-json/internal/decoder
Todd Treece 279389a781
Fix: Switch to lazy init() in decoder and encoder (#490)
* Switch to lazy init() in decoder and encoder

This will prevent go-json from consuming heap unless it is used.

* limit changes to initEncoder and initDecoder
2024-12-11 21:52:23 +09:00
..
anonymous_field.go Support JSON Path 2022-11-29 03:55:56 +09:00
array.go Fix checkptr error for array decoder 2022-12-02 01:51:29 +09:00
assign.go Support JSON Path 2022-11-29 03:55:56 +09:00
bool.go Support JSON Path 2022-11-29 03:55:56 +09:00
bytes.go Support JSON Path 2022-11-29 03:55:56 +09:00
compile.go Fix: Switch to lazy init() in decoder and encoder (#490) 2024-12-11 21:52:23 +09:00
compile_norace.go Fix: Switch to lazy init() in decoder and encoder (#490) 2024-12-11 21:52:23 +09:00
compile_race.go Fix: Switch to lazy init() in decoder and encoder (#490) 2024-12-11 21:52:23 +09:00
context.go Use RuntimeContext 2021-06-05 01:08:27 +09:00
float.go Support JSON Path 2022-11-29 03:55:56 +09:00
func.go Support JSON Path 2022-11-29 03:55:56 +09:00
int.go Support JSON Path 2022-11-29 03:55:56 +09:00
interface.go Support JSON Path 2022-11-29 03:55:56 +09:00
invalid.go Support JSON Path 2022-11-29 03:55:56 +09:00
map.go Fix mapDecoder.DecodeStream() to accept empty objects containing whitespace (#425) 2023-03-13 20:01:01 +09:00
number.go Support JSON Path 2022-11-29 03:55:56 +09:00
option.go Support JSON Path 2022-11-29 03:55:56 +09:00
path.go Fix json path 2022-11-29 21:44:55 +09:00
ptr.go fix: decode struct with pointer must be nil (#473) 2023-10-19 16:13:09 +09:00
slice.go Fix json path 2022-11-29 21:44:55 +09:00
stream.go replace statForRetry with stat (review reflected) 2022-08-02 12:07:48 +09:00
string.go Support JSON Path 2022-11-29 03:55:56 +09:00
struct.go fix: fixed to not optimize when lower can't handle byte-by-byte. (#432) 2023-03-13 19:57:24 +09:00
type.go Support JSON Path 2022-11-29 03:55:56 +09:00
uint.go Support JSON Path 2022-11-29 03:55:56 +09:00
unmarshal_json.go Support JSON Path 2022-11-29 03:55:56 +09:00
unmarshal_text.go Add license for string processing (#476) 2023-10-13 12:33:43 +09:00
wrapped_string.go Support JSON Path 2022-11-29 03:55:56 +09:00