josdejong/jsoneditor

Explicit strings in editor

Open

#862 geöffnet am 5. Dez. 2019

Auf GitHub ansehen
 (10 Kommentare) (0 Reaktionen) (1 zugewiesene Person)JavaScript (2.034 Forks)batch import
featurehelp wanted

Repository-Metriken

Stars
 (10.781 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 15h 36m) (3 gemergte PRs in 30 T)

Beschreibung

There should be an option for explicit strings in the editor. For example say I have a string representing an integer number i.e. '12345', the only way I would be able to represent this in the editor currently without messing up my validation (checks for string) would be '\'123\'' which is kind of annoying.

If there was an option for explicit strings a user would need to have quotes around the string value they are setting and if they wanted a ' or " in their string they would need to put the escape sequence \' or \" respectively. If this is already an option please let me know.

Contributor Guide