goext/gojson
Timo Vetter b5cd116219
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 47s
DYN-166 add jsonfilter to json library
2023-10-05 10:45:09 +02: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 DYN-166 add jsonfilter to json library 2023-10-05 10:45:09 +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 added gojson as a go/json fork (tag go1.20.2) 2023-04-20 14:30:24 +02:00
fold.go added gojson as a go/json fork (tag go1.20.2) 2023-04-20 14:30:24 +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 DYN-166 add jsonfilter to json library 2023-10-05 10:45:09 +02: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 added gojson as a go/json fork (tag go1.20.2) 2023-04-20 14:30:24 +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 added gojson as a go/json fork (tag go1.20.2) 2023-04-20 14:30:24 +02:00
stream_test.go gojson: added MarshalSafeCollections 2023-04-20 14:34:57 +02:00
stream.go gojson: added MarshalSafeCollections 2023-04-20 14:34:57 +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