I am trying to parse a simple json by using scala built in functions. But till now no positive result.Could you please provide any sample code or ideas to implement the below logic.
For example, I have a json input like this
val input_json = {"name" : "john", "id" : 101}
now my requirement is to parse the above json and store name and id values into two variables namely v1 & v2 by using scala built in functions.
Please provide sample code for parsing above json.