Hi all,

I was curious if anyone had any tips on parsing the JSON response of the
term vectors component? Or anyway to force it to be more standard JSON? It
appears to be very heavily nested and idiosyncratic JSON, such as below.

Notice the lists, within lists, within lists. Where the keys are adjacent
items in the list. Is there a reason this isn't a JSON dictionary? Instead
you have to build a stateful list parser that just seems prone to errors...

Any thoughts or ideas are very welcome, I probably just need to do
something rather simple here...

"termVectors": [
"D100000", [
"uniqueKey", "D100000",
"body", [
"1", [
"positions", [
"position", 92,
"position", 113
]
],
"10", [ ...

-- 
*Doug Turnbull **| CTO* | OpenSource Connections
<http://opensourceconnections.com>, LLC | 240.476.9983
Author: Relevant Search <http://manning.com/turnbull>
This e-mail and all contents, including attachments, is considered to be
Company Confidential unless explicitly stated otherwise, regardless
of whether attachments are marked as such.

Reply via email to