Question for Geeks:
XPath and JSONPath are similar, but different. That presents a problem for me since I'm building a system to query ActivityStreams objects that can include HTML wrapped in JSON.
Should I:
- Use XPath syntax for both JSON and HTML?
- Use JSONPath syntax for both JSON and HTML?
- Use either JSONPath and XPath depending on underlying datatype?
If you were writing a query, would you accept needing to know both syntaxes?
@evan @J12t
See: JSONpath: https://goessner.net/articles/JsonPath/