goext/gojson
Mike Schwörer 7fc73f1e93
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 2m51s
v0.0.470 Add GoextJsonMarshaller interface to call when marshalling json via gojson
2024-06-11 19:34:48 +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 v0.0.415 add 'tagkey' to gojson.Decoder 2024-03-18 10:42:00 +01:00
encode_test.go DYN-166 add jsonfilter to json library 2023-10-05 10:45:09 +02:00
encode.go v0.0.470 Add GoextJsonMarshaller interface to call when marshalling json via gojson 2024-06-11 19:34:48 +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
interfaces_test.go v0.0.470 Add GoextJsonMarshaller interface to call when marshalling json via gojson 2024-06-11 19:34:48 +02:00
interfaces.go v0.0.470 Add GoextJsonMarshaller interface to call when marshalling json via gojson 2024-06-11 19:34:48 +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 v0.0.415 add 'tagkey' to gojson.Decoder 2024-03-18 10:42:00 +01: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