I have a problem where json is encoded as base64 and I have to read that base64 and decode it and use the values of json.
My Json Structure:
{
"name" : "myname",
"id" : "1234568",
"class" : "science"
}
My Base64:
ewogICJuYW1lIiA6ICJteW5hbWUiLAogICJpZCIgOiAiMTIzNDU2OCIsCiAgImNsYXNzIiA6ICJzY2llbmNlIgp9
How can I decode this and get the values of the class?