每个人!我是编程新手,所以,请宽容:) 我有一个来自 NeDB 的 .db 文件,它看起来像 json:
{"key":"User","value":{"user":{"userId":"13","name":"Test","lastname":"Test","email":"test@test.com"},"token":"ELMZZR38kxPkdjnSttZOfM0F5iDo3t4eMVjCNH0"}}
{"key":"Words","value":"flight syrup high actor reason","_id":"MvSx29","createdAt":{"$$date":1592210725916},"updatedAt":{"$$date":1592210725916}}
{"key":"StartDate","value":{"$$date":1594039122453},"_id":"TqYA66Rd","createdAt":{"$$date":1594039122484},"updatedAt":{"$$date":1594039122484}}
我试图像 json 一样解析它,但它不起作用......
我如何解析它以获取特定值(如 userId、words)并将其放入 json 结构中?
收到一只叮咚
相关分类