Skip to content

[Feature] Add JSONLint class #11

@retrozinndev

Description

@retrozinndev

⚠️ Notice: This is just a concept, meaning it's not completely sure to be implemented.

JSONLint

The main idea is to implement a syntax checker inside the JSONutils library.
For example, a syntax error when using arrays as an object value, you accidentally use curly braces {} instead of brackets [], the Linter will notice the syntax issue and warn you at the console, like:

Lint: Syntax issue found at line 3, column 15. Found `{` instead of `[`  ->  " "coolObject": { 123, ..."
Tip: Replace the curly brace with a bracket

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions