Untitled attachment
https://files.mastodon.social/media_attachments/files/110/120/074/565/509/717/original/57371c3febfb7bbf.png
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/
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.