[ https://issues.apache.org/jira/browse/SOLR-9787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15783041#comment-15783041 ]
ASF subversion and git services commented on SOLR-9787: ------------------------------------------------------- Commit 73e50ceceb836421a176fe0fa2098a20b3c8a304 in lucene-solr's branch refs/heads/branch_6x from [~cpoerschke] [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=73e50ce ] 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