Skip to content

Conversation

yannickglt
Copy link

It would allow to both format a JSON as string using a given indentation (like JSON.stringify) and return a list of markers for matching results. A marker is an object { lineStart: number, columnStart: number, lineEnd: number, columnEnd: number } referring to the output formatted JSON.

Markers are helpful for highlighting in a source code editor like CodeMirror for example.

You can see http://yannickglt.github.io/esselect/ to get a preview of the use such a stringify method.

@yannickglt yannickglt force-pushed the feat/add-stringify-method branch from 765835e to 4e5188b Compare February 22, 2016 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant