I need to extract a json from below list of json based on id field value and display the key as columns
[{"id":"123","name":"ABC","age":"18","subject":"Maths","score":20},
{"id":"124","name":"ABCD","age":"20","subject":"History","score":40},
{"id":"213","name":"XYZ","age":"28","subject":"Economics","score":35}]
I am looking to display the final json based on key : 123 as below
id|name|age|subject|score
123|ABC|18|Maths|20
Please suggest ways to implement above in hive.