Question: You are given a text in JSON format in the form of a string consisting of small and capital English alphabets, curly brackets, double inverted
You are given a text in JSON format in the form of a string consisting of small and capital English alphabets, curly brackets, double inverted commas, commas, and no spaces present anywhere.
You are also given Q queries, where each query consists of a key of the given JSON object in the form of a string.
Task
For each query, you have to print the value of that key.
Example
Assumption
text: "Student":Name:"John", "Age": "Class":"
Q
queries: StudentName", "Student.Age", "Class"
Approach
For the first query, the answer is John.
For the second query, the answer is
For the third query, the answer is
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
