I have following response coming from one of the nodes:
[
{
"response":
{
"text":
" Here are sample definationcovering the content from the lesson outline on the arm and forearm: [ { "question": "What are the superficial subcutaneous structures of the arm?", "answer": "No specific superficial subcutaneous structures are listed." }, { "question": "What category of arm structures includes vasculature?", "answer": "Vasculature" }, { "question": "What species shows the forearm muscles in the image?", "answer": "Human" } ]"
}
}
]
I only want pure json which is
[{ "question": "What are the superficial subcutaneous structures of the arm?", "answer": "No specific superficial subcutaneous structures are listed." }, { "question": "What category of arm structures includes vasculature?", "answer": "Vasculature" }, { "question": "What species shows the forearm muscles in the image?", "answer": "Human" } ]"
I will always have “:” to identify the start of the json. How can I extract the json? can someone help or point me in the right direction? thanks.