JSON:
{
"prop":"property",
"inputInfo":{
"sku":"6157068",
"inputText":"iphone"
}
}
Code:
JSONObject inputObject = JSON.parseObject(input);
String prop = (String)inputObject.get("property");
But how to get the inner layer of 'sku' & 'inputText'?
I am using Alibaba json library in Java.