Home > Net >  The core asp.net ajax
The core asp.net ajax

Time:09-16

Why core core AJAX.net asp.net AJAX to submit one more curly braces dictTopic is a dictionary

CodePudding user response:

This has nothing to do with the core..

Because you are in the post json yourself with the topic of the.

If you frombody type is dict you should also be submitted should not have a layer of outside dict.

Direct

 
Data: json. Stringify (dictopic);


Including your dictopic should be the following structure

 
Var dictopic=[];
Dictopic. Push ({xx: xx, oo, oo});

CodePudding user response:

reference 1st floor by_ love reply:
. This has nothing to do with the core.

Because you are in the post json yourself with the topic of the.

If you frombody type is dict you should also be submitted should not have a layer of outside dict.

Direct

 
Data: json. Stringify (dictopic);


Including your dictopic should be the following structure

 
Var dictopic=[];
Dictopic. Push ({xx: xx, oo, oo});

Thank you thank you
  • Related