Skip to content

Create new JavaType subtype IterationType (extending SimpleType) #3950

@cowtowncoder

Description

@cowtowncoder

(note: possible replacement/impl of #3926)

There are benefits in recognizing types like:

  • Iterator
  • Stream
  • DoubleStream / IntStream / LongStream

as first-class JavaType variants (see FasterXML/jackson-dataformat-xml#597 f.ex).
It should be based on SimpleType, similar to ReferenceType.

If and when implemented we could consider whether to extend Deserializers, Serializers and other extension points.
Also: would need to add support by Scala module, possibly Kotlin (and maybe Guava?).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions