Skip to content

(reverted) Add Iterable<T> as recognized IterationType instance (along with Iterable, Stream) #4443

Closed
@cowtowncoder

Description

@cowtowncoder

Describe your Issue

Since #3950 added new IterationType (in Jackson 2.16), 2 types are recognized:

       if (rawType == Iterator.class || rawType == Stream.class) {

But as per:

FasterXML/jackson-dataformat-xml#646

it would seem Iterable should also be recognized similarly. If so, this could be changed in 2.18.

Metadata

Metadata

Assignees

No one assigned

    Labels

    2.18Issues planned at 2.18 or laterwill-not-fixClosed as either non-issue or something not planned to be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions