code: public static final JsonParser parseToStream(final String json) {
      if (json == null || json.isEmpty())
        throw new IllegalArgumentException("Incoming data was null or empty");
      try {
        return jsonMapper.getFactory().createJsonParser(json);
      } catch (JsonParseException e) {
        throw new IllegalArgumentException(e);
      } catch (IOException e) {
        throw new JSONException(e);
      }
    }
docs: Parses a JSON formatted string into raw tokens for streaming or tree
  iteration
  <b>Warning:</b> This method can parse an invalid JSON object without
  throwing an error until you start processing the data
  @param json The string to parse
  @return A JsonParser object to be used for iteration
  @throws IllegalArgumentException if the data was null or parsing failed
  @throws JSONException if the data could not be parsed