Json parsing received by Node.js is malformed?

  node.js, question

In iOS, i have an array that is sent to Node.js via AFNetworking:

dishs =     (
 bracket
 amount = 1;
 itemId = 576d315a7d24aa5085fe0dc3;
 },
 bracket
 amount = 2;
 itemId = 57666d75c8f2cb97bb07e50d;
 },
 bracket
 amount = 1;
 itemId = 57666d75c8f2cb97bb07e50c;
 bracket
 );

But the data received in Node.js is like this

[ { amount: [ '1', '2', '1' ],
 itemId:
 [ '576d315a7d24aa5085fe0dc3',
 '57666d75c8f2cb97bb07e50d',
 '57666d75c8f2cb97bb07e50c' ] } ]

The format I expect is this:

[ { itemId: '57666d75c8f2cb97bb07e50b', amount: 3 },
 { itemId: '57666d75c8f2cb97bb07e50a', amount: 5 } ]

May I know where the problem is?

There is something wrong with the business code. . I’m sure it’s been dealt with somewhere. Check yourself