pydantic / jiter

Fast iterable JSON parser.
https://crates.io/crates/jiter
MIT License
240 stars 17 forks source link

json-cat support (aka lax JSON lines support) #89

Open samuelcolvin opened 5 months ago

samuelcolvin commented 5 months ago

I just made it up, but it's a superset of JSON lines that ignores whitespace and instead just parses concatenated JSON things. source of idea

So the following would be valid:

{
  "foo": 1,
  "bar": 2
}
{"spam":  4}{"eggs": 5}["ham"]

Advantages:

I really don't think there's much more to it than that.