jsonrepair
go-jsonschema
jsonrepair | go-jsonschema | |
---|---|---|
3 | 2 | |
350 | 517 | |
- | - | |
8.9 | 9.1 | |
6 days ago | 12 days ago | |
TypeScript | Go | |
GNU General Public License v3.0 or later | MIT License |
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.
jsonrepair
-
Building a high performance JSON parser
The jsonrepair tool https://github.com/josdejong/jsonrepair might interest you. It's tailored to fix JSON strings.
I've been looking into something similar for handling partial JSONs, where you only have the first n chars of a JSON. This is common with LLM with streamed outputs aimed at reducing latency. If one knows the JSON schema ahead, then one can start processing these first fields before the remaining data has fully loaded. If you have to wait for the whole thing to load there is little point in streaming.
Was looking for a library that could do this parsing.
-
Any good Python library for fixing invalid JSON data?
Which are the best Python libraries for fixing invalid JSONs, similar to https://github.com/josdejong/jsonrepair ?
-
How would I repair corrupted JSON?
I've came across https://github.com/josdejong/jsonrepair in typescript. I was wondering if there's anything similar in golang.
go-jsonschema
-
Building a high performance JSON parser
For json schema specifically there are some tools like go-jsonschema[1] but I've never used them personally. But you can use something like ffjson[2] in go to generate a static serialize/deserialize function based on a struct definition.
[1] https://github.com/omissis/go-jsonschema
-
JSON Schema generator
What I have tried: https://github.com/atombender/go-jsonschema gave that a spin and wasn't able to generate any successful types from the few items under objects I tried.
What are some alternatives?
quicktype - Generate types and converters from JSON, Schema, and GraphQL
ocsf-schema - OCSF Schema
jsonhero-web - JSON Hero is an open-source, beautiful JSON explorer for the web that lets you browse, search and navigate your JSON files at speed. ๐. Built with ๐ by the Trigger.dev team.
ffjson - faster JSON serialization for Go
react-jsonschema-form - A React component for building Web forms from JSON Schema.
graphql-go-tools - GraphQL Router / API Gateway framework written in Golang, focussing on correctness, extensibility, and high-performance. Supports Federation v1 & v2, Subscriptions & more.
jsoncut
ky - ๐ณ Tiny & elegant JavaScript HTTP client based on the browser Fetch API
sonic - A blazingly fast JSON serializing & deserializing library
jsonvisio.com - ๐ฎ Seamlessly visualize your JSON data instantly into graphs; paste, import or fetch! [Moved to: https://github.com/AykutSarac/jsoncrack.com]
muon - ยตON - a compact and simple binary object notation