Follow-up Comment #2, bug #48903 (project gettext): I agree that JSON+ITS would be a better long term solution. I don’t currently have time to work on it, but have requested that it get put in the roadmap for our current project at work, which will hopefully result in me getting time to work on it in some weeks’ time.
I don’t believe there is a JSONPath implementation for json-c. The only JSON library I could find with JSONPath support is json-glib, but that brings in a lot of dependencies (and circular ones) for gettext. It should be possible to implement a JSONPath parser internally without too much difficulty (it’s not a complex standard; in fact, it’s not a standard at all, but merely a suggestion on a web page, which makes implementing it a little interesting — various bits of it are ill-defined). _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?48903> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/