docs: public static long parseJsonValueToInteger(JsonValue value) {
          try {
              return value.asInt();
          } catch (UnsupportedOperationException e) {
              String s = value.asString().replace("\"", "");
              return Integer.parseInt(s);
          }
      }