2

I have a JSON string inside a string variable like this:

   [{"user_id":"123","email":"[email protected]","lat":"40.748329","lng":"-73.996223",
                    "first_name":"Alex","last_name":"Genadinik"}]

Is there a way to just very quickly extract all the values using java? While googleing, I am running into very bulky and code-heavy examples that makes me think there must be a simpler way.

Thanks!

1 Answer 1

4

Check Gson, it is a very simple google API

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.