- From: Yves Savourel <ysavourel@enlaso.com>
- Date: Wed, 6 May 2015 15:19:37 -0600
- To: "'public-i18n-its-ig'" <public-i18n-its-ig@w3.org>
Hi David, > - how widespread uptake of JSONPath, Not sure. The only 'specification' is the article from Stefan Gössner (http://goessner.net/articles/JsonPath/), but it looks like several implementations exists for various languages. https://www.google.com/search?q=jsonpath > Are there other options like jsonselect.org ? Yes, it seems there are a number of ways to select JSON nodes: http://orangevolt.blogspot.com/2012/12/8-ways-to-query-json-structures.html But none seem to be overwhelmingly adopted. > - could we use the equivalent of external rule files? Yes, the implementation allows you to load a JSON file with an additional parameter which is an itsRules object (in JSON). > - is there any way to support the equivalent of local selection > and the precedence relationship with rules? Precedence/inheritance should work like for the XML/HTML ITS. More testing is probably needed though. As for the local rules, there is no direct support, but I think the JSONPath syntax is probably enough to let you declare them as global rules since you can use predicates. But this would not be as efficient as direct local rule obviously. And I have not tested complex cases so far. Cheers, -ys
Received on Wednesday, 6 May 2015 21:20:06 UTC