[jbosstools-issues] [JBoss JIRA] (ERT-387) JSON editor "supports" comments, not supported by JSON [EBZ#499705]

Snjezana Peco (JIRA) issues at jboss.org
Tue Sep 27 14:22:00 EDT 2016


     [ https://issues.jboss.org/browse/ERT-387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Snjezana Peco updated ERT-387:
------------------------------
    Sprint: devex #121 October 2016  (was: devex #120 September 2016)


> JSON editor "supports" comments, not supported by JSON [EBZ#499705]
> -------------------------------------------------------------------
>
>                 Key: ERT-387
>                 URL: https://issues.jboss.org/browse/ERT-387
>             Project: Eclipse Release Train
>          Issue Type: Task
>          Components: WTP Source Editing
>            Reporter: Friendly Jira Robot
>            Assignee: Snjezana Peco
>            Priority: Trivial
>              Labels: bzira, wst.json
>             Fix For: Neon.2 (4.6)
>
>
> I tried commenting a line in a JSON file using the common syntax "/* comment */":
> /*"jquery/jquery-min": "1.12",*/
> This caused the line to become blue, so I figured JSON must support comments. But as mentioned in https://en.wikipedia.org/w/index.php?title=JSON&oldid=734431215 this is not the case.
> Ticket #495578 explains that Angelo ZERR decided to support "JSON comments" since .jshintrc (no idea what that is) uses it. In my opinion, this should be disabled by default, but for sure, it should be possible to disable. Currently, all JSON highlights are mandatory (the checkboxes are disabled).



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list