[ https://issues.apache.org/jira/browse/SOLR-9787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15782938#comment-15782938 ]
ASF subversion and git services commented on SOLR-9787: ------------------------------------------------------- Commit e4ef4239f1b23afb116868e8528f1cd947287bd9 in lucene-solr's branch refs/heads/master from [~cpoerschke] [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=e4ef423 ] SOLR-9787, SOLR-9442: Replace json.nl=arrnvp with json.nl=arrntv (array of Name Type Value) style in JSONResponseWriter > Replace json.nl=arrnvp with json.nl=arrntv (array of Name Type Value) style > in JSONResponseWriter > ------------------------------------------------------------------------------------------------- > > Key: SOLR-9787 > URL: https://issues.apache.org/jira/browse/SOLR-9787 > Project: Solr > Issue Type: Task > Security Level: Public(Default Security Level. Issues are Public) > Reporter: Christine Poerschke > Assignee: Christine Poerschke > Priority: Minor > Attachments: SOLR-9787.patch, SOLR-9787.patch > > > This follows on from and builds upon SOLR-9442's addition of json.nl=arrnvp > style. See > https://issues.apache.org/jira/browse/SOLR-9442?focusedCommentId=15664719&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15664719 > onwards for background info. > Example: > {code} > NamedList("a"=1,"bar”=“foo",null=3.4f,null=null) > => > [ > { "name":"a", "type":"int", "value":1 }, > { "name":"bar", "type":"str", "value":"foo" }, > { "name":null, "type":"float", "value":3.4 }, > { "name":null, "type":"null", "value":null } > ] > {code} > This style maintains the type information of the values, similar to the xml > format: > {code} > <lst name=“someField”> > <int name=“a”>1</int> > <str name=“bar”>foo</str> > <float>3.4</float> > <null/> > </lst> > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org