News for hackers. Stuff that matters.
Re:JSON as configuration files: please don’t (2016) by therein on Saturday April 13, 2019 @05:34PM (#19655869)
I think the stigma comes from issues using XQuery etc. Not that they are unusable but they require adjusting your way of thinking.
Re:JSON as configuration files: please don’t (2016) by int_19h on Saturday April 13, 2019 @09:13PM (#19656887)
But XQuery (and XPath, being its subset) is pretty much just pure sequence comprehensions for the XML Data Model. It might have been unusual from a mainstream PL perspective back when it was introduced, but today, when C# has LINQ, and JS developers preach the miracles of map/filter/fold over immutable data structures, I don't think XQuery is all that exotic.
Re:JSON as configuration files: please don’t (2016) by manigandham on Saturday April 13, 2019 @09:26PM (#19656947)
JSON has no querying system, it can only be accessed by deserializing to an in-memory object or using whatever custom APIs are available (like postgres json functions).

JsonPath is the proposed standard, and it looks pretty much like XPath. And that's before getting into Json Schema.