Mike Schwörer ffffe4bf24
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 5m32s
v0.0.492
2024-08-02 16:19:21 +02:00
..
2024-08-02 16:19: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