← Back to context

Comment by ako

8 hours ago

There is JSLT: https://github.com/schibsted/jslt and it can be useful if you need to transform a json document into another json structure.

The 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.

  • What is a better alternative if you just need to transform JSON from one structure to another JSON structure?

    • Load 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.

    • Imperative 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.