public static JsonArray jsonArray(JsonElement... elements) {
    JsonArray output = new JsonArray();
    for (JsonElement element : elements) {
      output.add(element);
    }
    return output;
  }
Tests for Tink's internal {@link JsonParser}.
java_src/src/test/java/com/google/crypto/tink/internal/JsonParserTest.java