[jbosstools-issues] [JBoss JIRA] (ERT-215) Improve JSON completion apply according the JSON Schema [EBZ#494114]

Snjezana Peco (JIRA) issues at jboss.org
Tue Jun 14 18:06:00 EDT 2016


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

Snjezana Peco reassigned ERT-215:
---------------------------------

    Assignee: Snjezana Peco


> Improve JSON completion apply according the JSON Schema [EBZ#494114]
> --------------------------------------------------------------------
>
>                 Key: ERT-215
>                 URL: https://issues.jboss.org/browse/ERT-215
>             Project: Eclipse Release Train
>          Issue Type: Task
>          Components: WTP Source Editing
>            Reporter: Friendly Jira Robot
>            Assignee: Snjezana Peco
>            Priority: Trivial
>              Labels: bzira, wst.json
>
> Today, when JSON completion item is applied, it generates the "name" and "value" fields. According the JSON Schema, it generates for instance "false" as value if the JSON field is declared as "boolean" in the JSON Schema.
> I think we could improve this behaviour:
>  * apply completion should show a second popup for boolean value ( with "true", "false").
>  * apply completion should generate "true" if JSON Schema "default" declare it as "true"
>  * apply completion should use JSON Schema "enum" to show a second popup with "enum" values.
>  * apply completion should generate a JSON Object with JSON pair which declare some "name" JSON fields as "required".



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


More information about the jbosstools-issues mailing list