gojson: added MarshalSafeCollections

This commit is contained in:
2023-04-20 14:34:57 +02:00
parent d780c7965f
commit ef3705937c
7 changed files with 167 additions and 549 deletions

8
gojson/README.md Normal file
View File

@@ -0,0 +1,8 @@
JSON serializer which serializes nil-Arrays as `[]` and nil-maps als `{}`.
Idea from: https://github.com/homelight/json
Forked from https://github.com/golang/go/tree/547e8e22fe565d65d1fd4d6e71436a5a855447b0/src/encoding/json ( tag go1.20.2 )