{
"took": 3,
"timed_out": false,
"_shards": {
"total": 5,
"successful": 5,
"failed": 0
},
"hits": {
"total": 2,
"max_score": 1.0,
"hits": [
{
"_index": "contacts",
"_type": "index",
"_id": "2",
"_score": 1.0,
"_source": {
"id": "c201",
"name": "Johnny Depp",
"phone": {
"mobile": "+91 0000000000",
"home": "00 000000"
}
}
}
]
}
}
I have a elasticsearch json object to use in my application. I do not want to use the elasticsearch api. Also need to strip off the meta info, could you please advise
"id": "c201", "name": "Johnny Depp", , "phone": { "mobile": "+91 0000000000", "home": "00 000000", } }"_source"from the initial JSON Object. I take it you use org.json as bundled by android?