josdejong/jsoneditor

Explicit strings in editor

Open

#862 创建于 2019年12月5日

在 GitHub 查看
 (10 评论) (0 反应) (1 负责人)JavaScript (2,034 fork)batch import
featurehelp wanted

仓库指标

Star
 (10,781 star)
PR 合并指标
 (平均合并 15小时 36分钟) (30 天内合并 3 个 PR)

描述

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.

贡献者指南