4 ms·
There is JSLT: https://github.com/schibsted/jslt https://github.com/schibsted/jslt and it can be useful if you need to transform a json document into another js
by ako 1y ago
There is JSLT: https://github.com/schibsted/jslt https://github.com/schibsted/jslt and it can be useful if you need to transform a json document into another json structure.
- deleted 1y ago[deleted]
- nolok 1y agoThe people who made that are either very funny in a sarcastic, way or in severe lack of a history lesson of the area they're working in.
- ako 1y agoWhat is a better alternative if you just need to transform JSON from one structure to another JSON structure?
- asa400 1y agoLoad it into a full programming language runtime and use the great collections libraries available in almost all languages to transform it and then serialize it into your target format. I want to use maps and vectors and real integers and functions and date libraries and spec libraries. String to string processing is hell.
- rorylaitila 1y agoImperative code. Easy to mentally parse, comment, log, splice in other data. Why add another dependency just to go from json>json? That'd need an exceptional justification.