Package org.keycloak.json
Annotation Interface StringOrArray
Marks a
String[] field that can be either a single JSON string or an array of strings.
Equivalent to @JsonSerialize(using = StringOrArraySerializer.class)
and @JsonDeserialize(using = StringOrArrayDeserializer.class).
With Jackson 2, the meta-annotation expands automatically via JacksonAnnotationsInside.
With Jackson 3, the KeycloakAnnotationIntrospector3 handles this annotation directly.