Skip to content

Add a mechanism for writing sequences of values via ObjectWriter.writeValues() #655

@cowtowncoder

Description

@cowtowncoder

It has been possible to read value sequences with ObjectReader.readValues() for a while; this is especially useful for formats like CSV that are basically sequences of more or less uniform values.
But there is no similar mechanism for writing, so developers have to construct JsonGenerator directly first, then use ObjectMapper (or ObjectWriter) on that. This is cumbersome.

It would make sense to add a new sequence writer abstraction, accessible via ObjectWriter; method could be named ObjectWriter.writeValues().

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions