Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/virtuald/go-ordered-json
A fork of the golang encoding/json package to support ordered JSON decoding/encoding
https://github.com/virtuald/go-ordered-json
golang json
Last synced: about 1 month ago
JSON representation
A fork of the golang encoding/json package to support ordered JSON decoding/encoding
- Host: GitHub
- URL: https://github.com/virtuald/go-ordered-json
- Owner: virtuald
- License: bsd-3-clause
- Created: 2017-06-21T16:06:49.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-09-15T09:40:02.000Z (over 3 years ago)
- Last Synced: 2024-12-10T10:02:34.657Z (about 2 months ago)
- Topics: golang, json
- Language: Go
- Homepage:
- Size: 338 KB
- Stars: 33
- Watchers: 5
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
go-ordered-json
===============There are some legacy/stupid applications[1] that you need to interoperate with,
and they for whatever reason require that the JSON you're using is ordered in
a particular way (contrary to the JSON specifications).Unfortunately, the golang authors are not willing to support such a broken use
case, so on [their advice](https://groups.google.com/forum/#!topic/golang-dev/zBQwhm3VfvU)
this is a fork of the golang encoding/json package, with the ordered JSON
support originating with a patch from
[Peter Waldschmidt](https://go-review.googlesource.com/c/7930/).**If you can, you should avoid using this package**. However, if you can't
avoid it, then you are welcome to. Provided under the MIT license, just like
golang.Known broken applications
-------------------------* [1][Windows Communication Foundation Json __type ordering](https://docs.microsoft.com/en-us/dotnet/framework/wcf/feature-details/stand-alone-json-serialization#type-hint-position-in-json-objects)