go-json/internal/encoder
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
..
vm feat: added the option to output opcodes as dot (#440) 2023-03-20 04:53:43 +09:00
vm_color refactor: to check for IsDirectedNil only if ifacePtr == nil 2022-07-03 22:39:31 +09:00
vm_color_indent fix: fixed a problem that MarshalIndent does not work when UnorderedMap is specified (#435) 2023-03-13 19:58:11 +09:00
vm_indent fix: fixed a problem that MarshalIndent does not work when UnorderedMap is specified (#435) 2023-03-13 19:58:11 +09:00
code.go fix: fixed a problem with NextField being wrong when combining structure embedding and omitempty (#442) 2023-03-20 04:54:48 +09:00
compact.go fix: fix a bug for escaping 0xE2 0x80 0xA8 in compactString (#479) 2024-05-09 10:28:44 +09:00
compiler.go Fix: Switch to lazy init() in decoder and encoder (#490) 2024-12-11 21:52:23 +09:00
compiler_norace.go Fix: Switch to lazy init() in decoder and encoder (#490) 2024-12-11 21:52:23 +09:00
compiler_race.go Fix: Switch to lazy init() in decoder and encoder (#490) 2024-12-11 21:52:23 +09:00
context.go Refactor compiler for encoder 2021-11-28 02:14:57 +09:00
decode_rune.go Refactor encoder 2022-01-03 22:42:04 +09:00
encode_opcode_test.go Supports dynamic filtering of struct fields 2022-01-03 12:33:51 +09:00
encoder.go Fix encode []*time.Time - check nil (#524) 2024-11-11 11:10:21 +09:00
indent.go Optimize json.Compact and json.Indent 2021-04-20 20:12:32 +09:00
int.go add license for encoding int processing 2023-10-13 12:44:19 +09:00
map112.go Improve map encoding performance 2021-12-27 11:14:42 +09:00
map113.go Improve map encoding performance 2021-12-27 11:14:42 +09:00
opcode.go feat: added the option to output opcodes as dot (#440) 2023-03-20 04:53:43 +09:00
option.go feat: added the option to output opcodes as dot (#440) 2023-03-20 04:53:43 +09:00
optype.go Fix conversion of operation for PtrHead to Head 2021-12-05 11:38:56 +09:00
query.go Supports dynamic filtering of struct fields 2022-01-03 12:33:51 +09:00
string.go Add license for string processing (#476) 2023-10-13 12:33:43 +09:00
string_table.go Add encoding option for performance 2021-12-30 11:54:29 +09:00