Timo Vetter 9cc0abf9e0
Some checks failed
Build Docker and Deploy / Run goext test-suite (push) Failing after 52s
v0.0.278 DYN-166 bugfix jsonfilter
2023-10-05 12:54:07 +02:00
..
2023-10-05 12:54:07 +02:00
2023-10-05 10:57:34 +02:00
2023-04-20 14:34:57 +02:00
2023-04-20 14:35:55 +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