json()不';你不能深层解读吗?

json()不';你不能深层解读吗?,json,node.js,http,express,decode,Json,Node.js,Http,Express,Decode,我使用bodyParser.json()解析application/x-www-form-urlencoded;charset=UTF-8request,但我发现req.body对象没有深度解码,类似于: var a = { total: '143.0', delivery_time: '0', utime: '1461302812', wm_poi_name: '%E5%B9%B8%E7%A6%8F%E8%A5%BF%E9%A5%BC' }; 如何解决它?我知道x-www-

我使用
bodyParser.json()
解析
application/x-www-form-urlencoded;charset=UTF-8
request,但我发现
req.body
对象没有深度解码,类似于:

 var a = {
  total: '143.0',
  delivery_time: '0',
  utime: '1461302812',
  wm_poi_name: '%E5%B9%B8%E7%A6%8F%E8%A5%BF%E9%A5%BC'
};

如何解决它?

我知道x-www-form-urlencoded不允许嵌套数据,您必须将wm\u poi\u名称编码为json字符串并在控制器上解码。我知道x-www-form-urlencoded不允许嵌套数据,您必须将wm\u poi\u名称编码为json字符串并在控制器上解码