JSON.Parse with Java

0 votes

in C# I use JSON.Parse to convert string to JObject.

How can I do the same in Java ?

I tried :

JSONObject obj = new JSONObject(string);
but it doesn't work :/

Thank you !
asked Jun 30, 2014 in App42 Cloud API-BaaS by moddib (27 points)

1 Answer

+1 vote
Best answer

This is a right way which you are doing to parse the json object.

Is it possible to share the error which you are having in parsing the json string into object.

answered Jul 1, 2014 by hs00105 (517 points)
selected Jul 1, 2014 by moddib
You are right sorry !
It hasn't worked because of a massive usage of logging -> server took more than 10s to answer !
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com