Best way to validate and format json files.

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

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • jq

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

  • Run some offline validator. E.g., see https://github.com/stedolan/jq/issues/1539

  • nvim-jqx

    Populate the quickfix with json entries

  • Have you tried nvim-jqx?

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • gojq

    Pure Go implementation of jq

  • fixjson

    JSON Fixer for Humans using (relaxed) JSON5

  • I love https://github.com/rhysd/fixjson to format JSON: it can handle the presence or lack of trailing commas on items. This is incredibly useful for swapping items or adding a new item at the end of a list without getting parse errors because of trailing commas.

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