: 2. The items "at" and "l" are not preceded by name.

you're getting back a list of items, the odd items ("at", "l") are 
strings, and the even items are more complex objects associated with those 
strings

: Can I interfere with the structure?

You can choose how the JSON Writer represents the internal structures of 
"pairs" contained inside of a "NamedList" using the "json.nl" option.
 
by default it is json.nl is "flat" (the alternative list mentioned above) 
but you can also "arrarr" (list of 2 item lists) or "map" which is souds 
like what you are looking for -- however it's important to realize that 
the the "map" option can in some situations generate the same "key" 
multiple times depending on the situation / internal data.  This is valid 
JSON, but many client libraries can't handle it, or handle it in a way 
that users don't like -- hence it is not hte default.

https://wiki.apache.org/solr/SolJSON#JSON_specific_parameters


-Hoss

Reply via email to