I am using jquery, JSON, and AJAX for a comment system. I am curious, is there a size limit on what you can send through/store with JSON? Like if a user types a large amount and I send it through JSON is there some sort of maximum limit?
Also can any kind of text be sent through JSON. for example sometime I allow users to use html, will this be ok?
JSON parsing problem in BlackBerry
rendering JSON in GRAILS with part of the attributes of an object
JSON Select option question?
There's no inherent size limitation to the overall JSON request itself.
How to design a streaming API
Any limitation would be set by the server parsing the JSON request.
JSON String formed improperly using Jayrock in .NET
(For instance, ASP.NET has the "MaxJsonLength" property of the serializer.).
Is there anyway of making json data readable by a Google spider?
Playback audio data with GWT
What's wrong with my JSON?
around 40MB in my experience).
See this question for example..
Microsoft's DataContractJsonSerializer seems to have a hard limit around 8kb (8192 I think), and it will error out for larger strings.. Edit: We were able to resolve the 8K limit for JSON strings by setting the MaxJsonLength property in the web config as described in this answer: http://stackoverflow.com/a/1151993/61569.
We can send Json data in file too.
According to the capabilities of browser that you are working with, Json data can be handled..
See RFC 7159, Section 9.
Parsers:. "An implementation may set limits on the size of texts that it accepts.
An implementation may set limits on the maximum depth of nesting.
An implementation may set limits on the range and precision of numbers.
An implementation may set limits on the length and character contents of strings.".