goext/gojson
Mike Schwörer 05580c384a
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 1m51s
v0.0.349
2023-12-28 01:36:21 +01:00
..
testdata added gojson as a go/json fork (tag go1.20.2) 2023-04-20 14:30:24 +02:00
decode_test.go added gojson as a go/json fork (tag go1.20.2) 2023-04-20 14:30:24 +02:00
decode.go added gojson as a go/json fork (tag go1.20.2) 2023-04-20 14:30:24 +02:00
encode_test.go DYN-166 add jsonfilter to json library 2023-10-05 10:45:09 +02:00
encode.go v0.0.278 DYN-166 bugfix jsonfilter 2023-10-05 12:54:07 +02:00
example_marshaling_test.go added gojson as a go/json fork (tag go1.20.2) 2023-04-20 14:30:24 +02:00
example_test.go added gojson as a go/json fork (tag go1.20.2) 2023-04-20 14:30:24 +02:00
example_text_marshaling_test.go added gojson as a go/json fork (tag go1.20.2) 2023-04-20 14:30:24 +02:00
fold_test.go DYN-166 add jsonfilter to json library 2023-10-05 10:57:34 +02:00
fold.go DYN-166 add jsonfilter to json library 2023-10-05 10:57:34 +02:00
fuzz_test.go added gojson as a go/json fork (tag go1.20.2) 2023-04-20 14:30:24 +02:00
fuzz.go added gojson as a go/json fork (tag go1.20.2) 2023-04-20 14:30:24 +02:00
gionic.go v0.0.349 2023-12-28 01:36:21 +01:00
indent.go added gojson as a go/json fork (tag go1.20.2) 2023-04-20 14:30:24 +02:00
LICENSE gojson: added MarshalSafeCollections 2023-04-20 14:34:57 +02:00
number_test.go DYN-166 add jsonfilter to json library 2023-10-05 10:57:34 +02:00
README.md v0.0.103 2023-04-20 14:35:55 +02:00
scanner_test.go added gojson as a go/json fork (tag go1.20.2) 2023-04-20 14:30:24 +02:00
scanner.go DYN-166 add jsonfilter to json library 2023-10-05 10:57:34 +02:00
stream_test.go DYN-166 add jsonfilter to json library 2023-10-05 10:57:34 +02:00
stream.go DYN-166 add jsonfilter to json library 2023-10-05 10:57:34 +02:00
tables.go added gojson as a go/json fork (tag go1.20.2) 2023-04-20 14:30:24 +02:00
tagkey_test.go added gojson as a go/json fork (tag go1.20.2) 2023-04-20 14:30:24 +02:00
tags_test.go added gojson as a go/json fork (tag go1.20.2) 2023-04-20 14:30:24 +02:00
tags.go added gojson as a go/json fork (tag go1.20.2) 2023-04-20 14:30:24 +02:00

JSON serializer which serializes nil-Arrays as [] and nil-maps als {}.

Idea from: https://github.com/homelight/json

Forked from 547e8e22fe/src/encoding/json ( tag go1.20.2 )

Added:

  • MarshalSafeCollections() method
  • Encoder.nilSafeSlices and Encoder.nilSafeMaps fields