3 ms·
> JSON is [...] What would you suggest instead given all these cons?
by egorfine 1y ago
> JSON is [...]
What would you suggest instead given all these cons?
- Y_Y 1y agoFixing all of those at once might be a bit too much to ask, but I have some quick suggestions. I'd say for a more robust JSON you could try Dhall. If you just want to exchange lumps of data between programs I'd use Protobuf. If you want simple and freeform I'd go with good old sexps. https://github.com/dhall-lang/dhall-lang https://github.com/dhall-lang/dhall-lang https://protobuf.dev/ https://protobuf.dev/ https://en.wikipedia.org/wiki/S-expression https://en.wikipedia.org/wiki/S-expression
- imtringued 1y agoSuggesting protobuf as alternative to JSON is crazy talk.