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

Yonik Seeley commented on SOLR-6445:
------------------------------------

Yes, you can set the flags explicitly, but the defaults are already more 
permissive.

And the JSON standard allows accepting more than JSON: 
http://www.ietf.org/rfc/rfc4627.txt
{quote}
   JSON parser MUST accept all texts that conform to the JSON grammar.
   A JSON parser MAY accept non-JSON forms or extensions.
{quote}

> 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