goext/gojson/README.md
2023-04-20 14:35:55 +02:00

351 B

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