@Theory
  public void getParsedNumberAsLongOrThrow_nestedValue_success() throws Exception {
    JsonElement parsed = JsonParser.parse("{\"a\":{\"b\":9223372036854775807}}");
    JsonElement parsedNumber = parsed.getAsJsonObject().get("a").getAsJsonObject().get("b");
    long output = JsonParser.getParsedNumberAsLongOrThrow(parsedNumber);
    assertThat(output).isEqualTo(9223372036854775807L);
  }
Tests for Tink's internal {@link JsonParser}.
java_src/src/test/java/com/google/crypto/tink/internal/JsonParserTest.java