I've string like this (just )
"{\"username":\"stack\",\"over":\"flow\"}"
I'd successfully converted this string to JSON with
JSONObject object = new JSONObject("{\"username":\"stack\",\"over":\"flow\"}");
I've a class
public class MyClass
{
public String username;
public String over;
}
How can I convert JSONObject into my custom MyClass object?