Re:How to Use JSON Path
by jkaptur on Friday May 03, 2024 @12:11PM
(#40249302)
Another issue is that the term "document" is also used to refer to XML or HTML.
[ Parent
| on HN ]
Re:How to Use JSON Path
by PurpleRamen on Friday May 03, 2024 @03:36PM
(#40251453)
XML is for data-exchange, competing with JSON and others. So I have no problem putting it to the data-documents, even though it's more a frankenstein. But HTML is an office-document, used for freetext, nobody really should use it for data, even though sometimes it's used that way.
XML is also used, literally, for office documents (Word, Excel, etc).
Re:How to Use JSON Path
by PurpleRamen on Saturday May 04, 2024 @04:53AM
(#40256031)
So are JSON and YAML. The point is whether you have a programmatic and structured handling of a document's content, or whether it's random, where every line and word can demand for a different parser.