Mike Schwörer 1f456c5134
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 5m6s
v0.0.512
2024-09-15 21:25:21 +02:00
..
2024-09-15 21:25:21 +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