Our great sponsors
-
jsoniter
jsoniter (json-iterator) is fast and flexible JSON parser available in Java and Go (by json-iterator)
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
JSON is a simple key=value pair representation. If you want to implement it by your hand with the same set of features (maps, lists, character escaping) then you will get something really similar. They are binary alternatives like https://cbor.io/ , but they are not popular for same reasons we use human readable representation of data for any other use case in programming
If JSON decoding ever becomes a bottleneck, use https://jsoniter.com/ . Even fhe drop-in replacement API is faster than the stdlib. If you need absolute insane performance, use the streaming API.