[ 
https://issues.apache.org/jira/browse/SOLR-6445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14113800#comment-14113800
 ] 

Jack Krupansky commented on SOLR-6445:
--------------------------------------

+1 for violating the JSON standard! Okay, sure maybe we should have an option 
to require "strict" JSON, but it should default to "false".

Could we support unquoted simple "name" values as well? Like:

{code}
{id: my-key}
{code}
 And if people strenuously object, maybe we just need to have a "Solr JSON" 
(SJSON or SON - Solr Object Notation) format with the relaxed rules.


> Allow flexible JSON input 
> --------------------------
>
>                 Key: SOLR-6445
>                 URL: https://issues.apache.org/jira/browse/SOLR-6445
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Noble Paul
>
> Support single quotes and unquoted keys
> {code:javascript}
> //all the following must be valid and equivalent
> {"id" :"mykey"}
> {'id':'mykey'}
> {id: "mykey"}
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to