You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Create a json object with a java string like so,
String jsonStr = "{\"class\":\"test\"}"
2. Parse the string with JSONObject and try to get the value for the key
name class.
Object obj=parser.parse(jsonStr);
JSONObject jObj = (JSONObject) obj;
System.out.println("Key name: class, Key value: " + jObj.get("class"));
What is the expected output? What do you see instead?
I expect to get the value "test" however, it always comes back with a null
value.
What version of the product are you using? On what operating system?
json-simple-1.1.jar on Windows XP.
Please provide any additional information below.
Original issue reported on code.google.com by bangz...@gmail.com on 23 Feb 2010 at 4:16
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
bangz...@gmail.com
on 23 Feb 2010 at 4:16The text was updated successfully, but these errors were encountered: