code: public static JsonNode parse(final String jsonString) {
          if (Strings.isEmpty(jsonString)) {
              return newObject();
          }
  
          try {
              return createObjectMapper().readValue(jsonString, JsonNode.class);
          } catch (Throwable e) {
              throw new ParseException(String.format("can't parse string [%s]", jsonString), e);
          }
      }
docs: Parse a String representing a json, and return it as a JsonNode.
  
  @param jsonString string to parse
  @return parsed json string as json node
  @throws ParseException to runtime if json string can't be parsed