public static Object jsonToJava(String json, Map<String, Object> optionalArgs) {
    """
	Convert the passed in JSON string into a Java object graph.
	
	@param json String JSON input
	@param optionalArgs Map of optional parameters to control parsing.  See readme file for details.
	@return Java object graph matching JSON input
    """
        if (optionalArgs == null)
        {
            optionalArgs = new HashMap<String, Object>();
            optionalArgs.put(USE_MAPS, false);
        }
        if (!optionalArgs.containsKey(USE_MAPS))
        {
            optionalArgs.put(USE_MAPS, false);
        }
        JsonReader jr = new JsonReader(json, optionalArgs);
        Object obj = jr.readObject();
        jr.close();
        return obj;
    }
public static Object jsonToJava(String json, Map<String, Object> optionalArgs)
    {
        if (optionalArgs == null)
        {
            optionalArgs = new HashMap<String, Object>();
            optionalArgs.put(USE_MAPS, false);
        }
        if (!optionalArgs.containsKey(USE_MAPS))
        {
            optionalArgs.put(USE_MAPS, false);
        }
        JsonReader jr = new JsonReader(json, optionalArgs);
        Object obj = jr.readObject();
        jr.close();
        return obj;
    }
public static Object jsonToJava ( String json , Map < String , Object > optionalArgs ) { if ( optionalArgs == null ) { optionalArgs = new HashMap < String , Object > ( ) ; optionalArgs . put ( USE_MAPS , false ) ; } if ( ! optionalArgs . containsKey ( USE_MAPS ) ) { optionalArgs . put ( USE_MAPS , false ) ; } JsonReader jr = new JsonReader ( json , optionalArgs ) ; Object obj = jr . readObject ( ) ; jr . close ( ) ; return obj ; }
Convert the passed in JSON string into a Java object graph.

@param json String JSON input
@param optionalArgs Map of optional parameters to control parsing.  See readme file for details.
@return Java object graph matching JSON input
Convert the passed in JSON string into a Java object graph .