我有一个简单的json obj,我想对其进行编辑(添加新的嵌套服务数组元素)。我可以通过从http://localhost:3000/user/1/获取来访问整个obj,但是我还需要访问服务:我已经尝试过http://localhost:3000/user/1/service但没有用
{
"user": [
{
"id": "1",
"name": "Zygmunt Stary",
"model": "MS001",
"serialNumber": "000001",
"service": [
{
"id": "1",
"description": "nie chodzi",
"parts": "moduł zapłonowy, gaźnik, uszczelniacze",
"cost": "356",
"inputDate": "2018-11-13",
"outputDate": "2018-11-15"
}
]
}
]
}