Description
The editor is a JavaScript editor, and the input is parsed as json5. This allows for comments as well as a relaxed JSON input format. Once the editor has valid JSON, an input window will appear below, allowing you to manipulate the object with JavaScript or jq. A panel will appear to the right with the output, and updates live as the input or filter changes.
JSON-Splora alternatives and similar modules
Based on the "Data Validation" category.
Alternatively, view JSON-Splora alternatives based on common mentions on social networks and blogs.
-
joi
The most powerful data validation library for JS [Moved to: https://github.com/hapijs/joi] -
ajv
The fastest JSON schema Validator. Supports JSON Schema draft-04/06/07/2019-09/2020-12 and JSON Type Definition (RFC8927) -
Superstruct
A simple and composable way to validate data in JavaScript (and TypeScript). -
forgJs
ForgJs is a javascript lightweight object validator. Go check the Quick start section and start coding with love -
is-my-json-valid
A JSONSchema validator that uses code generation to be extremely fast -
schema-inspector
Schema-Inspector is a simple JavaScript object sanitization and validation module. -
property-validator
:white_check_mark: Easy property validation for JavaScript, Node and Express. -
Safen
Safen is a top-performing validation and sanitization library with easy type inference.
Appwrite - The Open Source Firebase alternative introduces iOS support
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of JSON-Splora or a related project?
README
JSON-Splora
JSON-Splora is a GUI for editing, visualizing, and manipulating JSON data with jq or JavaScript.
Design
- Built with Electron
- Editor and output both use CodeMirror
- Input is parsed as json5
- Filter with jq or JavaScript
The editor is a JavaScript editor, and the input is parsed as json5. This allows for comments as well as a relaxed JSON input format. Once the editor has valid JSON, an input window will appear below, allowing you to manipulate the object with JavaScript or jq. A panel will appear to the right with the output, and updates live as the input or filter changes.
Input
- URLs resolve to any JSON they return
- Drag-and-drop or open any file
- Plain text input
Filters
- First evaluated as JavaScript with
output = x${filter}
- If JS fails, it attempts to use jq
Command Line
jsplora [file]
Install
Requires at least Node version 6
.
Globally (cli)
This will create the application as well as the alias jsplora
.
npm i -g json-splora
Locally
Building locally creates a directory JSON-Splora-<system>
which contains the application.
npm install
# build for darwin, linux, win32
npm run-script build-darwin
npm run-script build-linux
npm run-script build-win32
Name Change
JSON-Splora is becoming json-splora in npm. This is because of a bug in npm's backend confusing the two packages. I am forced to release 1.0.0, deprecate "JSON-Splora", and move to "json-splora". I apologize for any inconvenience.
Contributing
Contributions are welcome! Please read through and follow the style of the rest of the code. eslint
is used as a code pre-commit hook, and will catch many simple errors. Please squash your commits and leave concise commit messages.
License
*Note that all licence references and agreements mentioned in the JSON-Splora README section above
are relevant to that project's source code only.