hujson
jsonschema-key-compression
hujson | jsonschema-key-compression | |
---|---|---|
10 | 1 | |
564 | 94 | |
0.9% | - | |
0.0 | 8.9 | |
6 months ago | 9 days ago | |
Go | TypeScript | |
BSD 3-clause "New" or "Revised" License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
hujson
- JSON for Humans (JWCC: JSON with comments and trailing commas)
-
Ron: Rusty Object Notation
That, and comments!
Personally, I really hope Human JSON, https://github.com/tailscale/hujson , will take over!
-
Unmarshal text with Go reflection - usage and internals of a library for line-oriented text
I also like the approach that the hujson library takes, where everything is a type Literal []byte and you can call (Literal).Bool(), (Literal).String(), (Literal).Int() or (Literal).Float() on it and it gives you the corresponding value out of it (or the zero value). So kinda like dynamic variables that can store anything.
-
Internet Object – A JSON alternative data serialization format
One of the variants that permit comments: https://github.com/tailscale/hujson
- HuJSON - JSON for Humans (comments and trailing commas)
- Tailscale/hujson: HuJSON: JSON for Humans (comments and trailing commas)
jsonschema-key-compression
-
Internet Object – A JSON alternative data serialization format
So the plain data is smaller because some information comes from the schema instead of the object. Guess what, you can do the same with json already [1]
[1] https://github.com/pubkey/jsonschema-key-compression
What are some alternatives?
zed - A novel data lake based on super-structured data
react-jsonschema-form - A React component for building Web forms from JSON Schema.
set - Package set is a small wrapper around the official reflect package that facilitates loose type conversion and assignment into native Go types.
quicktype - Generate types and converters from JSON, Schema, and GraphQL
Dixy - Data format based on dictionaries
simdjson - Parsing gigabytes of JSON per second : used by Facebook/Meta Velox, the Node.js runtime, ClickHouse, WatermelonDB, Apache Doris, Milvus, StarRocks
json5 - JSON5 — JSON for Humans
schema-nozzle - json-schema generate from typescript interface and type alias, class, enum
proposal-json-superset - Proposal to make all JSON text valid ECMA-262