Description
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:
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 } ]
This style maintains the type information of the values, similar to the xml format:
<lst name=“someField”> <int name=“a”>1</int> <str name=“bar”>foo</str> <float>3.4</float> <null/> </lst>