static boolean isValidString(String s) {
    return JsonParser.isValidString(s);
  }
Helper functions to parse JSON strings, and validate strings.
java_src/src/main/java/com/google/crypto/tink/jwt/JsonUtil.java