0
杰克逊,如何解析“嵌套JSON”,并设置为POJO类如何解析“嵌套JSON”,并设置为POJO类
Sales.json
{
"data": {
"modified_by": "mat",
"name": "mak",
"net_total": 0,
"items": [
{
"owner": "shoaib shaikh",
"modified_by": "mat",
"doctype": "Item"
}
],
"owner": "shoaib shaikh",
"apply_discount_on": "tesla"
}
}
'新的文件( “d:\\ staff.json”)'可以是字符串 –