Mike Schwörer 8dcd8a270a
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 7m7s
v0.0.507 fix jsonfilter:"-" not working
2024-08-25 15:41:17 +02:00
..
2023-10-05 10:57:34 +02:00
2023-12-28 01:36:21 +01: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