New answers tagged

2

I recently created a library, json-transforms, exactly for this purpose: https://github.com/ColinEberhardt/json-transforms It uses a combination of JSPath, a DSL modelled on XPath, and a recursive pattern matching approach, inspired directly by XSLT. Here's a quick example. Given the following JSON object: const json = { "automobiles": [ { "maker": ...



Top 50 recent answers are included