void setupContext ( JsonConvertOptions pOpts ) { ObjectSerializationContext stackContext = new ObjectSerializationContext ( pOpts ) ; stackContextLocal . set ( stackContext ) ; }
Setup the context with the limits given in the request or with the default limits if not . In all cases hard limits as defined in the servlet configuration are never exceeded .