|
|
|
|
|
by alphalima
1432 days ago
|
|
I don't view that as a loss. JSON by itself is just a string with no context information so either the context is in the programmer's head, in a human-readable document, or in a schema file. Adding a schema to it seems natural to me (as someone who prefers strong-typing), and the JSONSchema implementation seems pretty lightweight and sensible. I'd go even further down the mining XML's legacy route and add better XPATH2.0 + XQuery - style support. XQuery was a great tool, so expressive. Though it did spawn XQueryX [1] which I'm still unsure whether it was a joke or not. [1] https://www.oreilly.com/library/view/xquery/0596006349/ch22s... |
|
https://www.postgresql.org/docs/current/datatype-json.html#D...