I'm trying to understand if there's a limit to how much JSON the Spring framework will deserialize into an object.
My REST service receives POST requests where the body is a JSON string. This is automatically deserialized into an object by the Spring framework (3.2.5) and the object is provided as a method argument. One of the object's properties is an array. I want to provide some guidance in my documentation about the maximum number of array elements that a caller can include in an object.
I know that the .NET framework has a configurable limit on the size of a JSON string but I don't know of anything similar in Spring. My development server is currently churning away on a request with 100,000 elements (roughly 8,000,000 characters) and it hasn't blown up yet.
Any thoughts much appreciated!