我正在尝试读取收到的 json 中的内部对象。我需要按原样获取这个内部对象并将其插入 Mongo。
{
"order" : {
"customer" : {
"name" : "Custy McCustomer",
"contactDetails" : {
"address" : "1 Fake Street, London, England",
"phone" : "0123-456-789"
}
},
"items" : [
{
"id" : 123,
"description" : "banana",
"quantity" : 1
},
{
"id" : 456,
"description" : "apple",
"quantity" : 2
}
],
"total" : 123.45
}
}