The JSON structure is as follows:
......
"topics": {<URI of DocCat object>: {
"_typeGroup": "topics",
<all fields of this DocCat object taken from CalaisRDF>
},
<…other topics…>
},
"entities": {
<entity type, like “Company”>: {
<URI of entity object>: {
"_type": "Country",
"_typeGroup": "entities",
<all fields of this entity object taken from CalaisRDF>
"instances": [
...
However, the JSON which i get as a response does not return the names ("topics", "entities"...etc), they show the URI instead and contain the array of key-value pairs ("topics", "entities" ...etc).
Has the structure of JSON output changed by OpenCalais? Or am i setting something in paramXML wrong?
I am sending a "text/raw" and receiving an "application/json".
I cannot retrieve the values contained inside a non-consistent URI as these URIs seem to use dochash, pershash, genericHash, and comphash. I can get the value of dochash easily from the retrieved JSON object, but what about others?