You can try the following way:
var myJSON = {
"status": "Succeeded",
"recognitionResult": {
"lines": [
{
"boundingBox": [
2,
52,
65,
46,
69,
89,
7,
95
],
"text": "The quick brown fox jumps over the lazy",
}
]
}
}
var text = myJSON.recognitionResult.lines[0].text;
console.log(text)
2
solved How to display specific JSON data using Javascript alert? [closed]