[AskJS] What is the best way in your opinion to manipulate complex javascript objects (JSON) ?

This page summarizes the projects mentioned and recommended in the original post on /r/javascript

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • jq

    Discontinued Command-line JSON processor [Moved to: https://github.com/jqlang/jq] (by stedolan)

  • Have you looked at jq?

  • jmespath.js

    Javascript implementation of JMESPath, a query language for JSON

  • JMESPath can sanitize obtuse JSON structures, and the tutorial is an excellent way to give it a test run.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • jmespath-ts

    Typescript translation of the jmespath.js package

  • Don't despair at the lack of updates. I've used it successfully in recent projects, but it has also been rewritten in TypeScript by another team, and includes a few improvements too.

  • jfq

    JSONata on the command line

  • Take a look at jsonata It will look complex when you first see it, but then it turns to be super easy.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts