Accessing JSON Elements 2
by Joe Saad
JavaScript
var myjson = {
"responseHeader": {
"status": 0,
"QTime": 16,
"params": {
"spellcheck": "true",
"facet": "true",
"sort": "score desc",
"shards.qt": "/lucid",
"facet.limit": "11",
"q.alt": "*:*",
"showFindSimilarLinks": "true",
"f.body.hl.alternateField": "body",
"hl": "true",
"stopwords.enabled": "true",
"feedback": "false",
"echoParams": "all",
"fl": [
"id",
"url",
"author",
"data_source_type",
"lastModified",
"mimeType",
"pageCount",
"title"],
"f.body.hl.maxAlternateFieldLength": "250",
"role": "DEFAULT",
"facet.field": [
"data_source_name",
"keywords_display",
"mimeType"],
"synonyms.fields": "body,description,text_all,title",
"auto-complete": "true",
"likeDoc.fl": "author,title",
"facet.mincount": "1",
"feedback.emphasis": "relevancy",
"qf": "author text_all title^5.0",
"hl.fl": "author,body,title",
"spellcheck.collate": "true",
"spellcheck.onlyMorePopular": "true",
"defType": "edismax",
"pf": "author title^5.0 text_all",
"stopwords.fields": "body,description,keywords,title",
"boost": "recip(rord(lastModified),1,1000,1000)",
"synonyms.enabled": "true",
"hl.fragsize": "250",
"indent": "true",
"start": "0",
"q": "account",
"req_type": "main",
"hl.simple.pre": "<em>",
...