code: public static void setClassLoader( ServletContext context, ClassLoader classLoader ) {
          WebApp.get(context).setClassLoader(classLoader);
      }
docs: Sets the classloader used by {@link StaplerRequest#bindJSON(Class, JSONObject)} and its sibling methods.
  
  @deprecated
  Use {@link WebApp#setClassLoader(ClassLoader)}