News for hackers. Stuff that matters.
Re:Parsing JSON Is a Minefield (2018) by EdwardDiego on Sunday August 18, 2019 @12:07AM (#20728178)
I have a love/hate relationship with JSON schema. I hate the documentation, or significant lack thereof. But I do love how business rules about relationships between fields can be expressed in the schema - e.g., if typeId is 7, then the cost field must be populated.

With things like Avro or GPB you still need to validate that the relationship holds true separately.

There are no comments on this comment yet.