code: void setupContext(JsonConvertOptions pOpts) {
          ObjectSerializationContext stackContext = new ObjectSerializationContext(pOpts);
          stackContextLocal.set(stackContext);
      }
docs: 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.
  
  @param pOpts options used for parsing.