3 ms·
I legit saw a team asking for a tool that does JSON -> JSON transformations at work. The XSLT for JSON vibes were almost too strong.
by taeric 4y ago
I legit saw a team asking for a tool that does JSON -> JSON transformations at work. The XSLT for JSON vibes were almost too strong.
- avmich 4y agoThat's jq. At least useful for a lot of transformations.
- taeric 4y agoA little different, but yeah. (If I'm not mistaken, xslt had a bit more of a defined language and way more formalism.) That said, there are plenty of examples. JSONPath, JQ, Jolt... I am not claiming that this is not useful. Just amused to see the wheel go around.
- avmich 4y agoOh, it absolutely goes around in this industry. For a simple, most frequently used subset of jq a more modest, non-Turing-complete language of transforming strings could be created, so that for many useful cases one just need to provide such a string. Strictly for JSON -> JSON.
- silon42 4y agoyes, jq is XSLT (and more) for JSON
- taeric 4y agoand more?