JSON object max size?

前端 未结 4 1915
名媛妹妹
名媛妹妹 2020-12-15 21:35

Using jquery, I\'m able to send json objects from client to server using ajax like this:

var strJSON = \'{\"event\":[{
    \"dates\":[
        \"2009-10-14\"         


        
4条回答
  •  自闭症患者
    2020-12-15 21:58

    'jsonp' datatype does not and can not use the POST method. Instead all data is passed in a query string. Thus, if the server's max query string length is exceeded, the data will not be passed. The reason for this is that jQuery loads the json data as a node into your html document, and this can only be done as a GET. If you need more data you'll have to use XML or other.

提交回复
热议问题