Hot 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": ...



Only top voted, non community-wiki answers of a minimum length are eligible