Skip to content

Add JsonGenerator.getPrettyPrinter() #1480

@cowtowncoder

Description

@cowtowncoder

(note: offshoot of FasterXML/jackson-databind#5331)

Looks like an accessor would be needed to get reference to the active PrettyPrinter a generator instance is using (if any).

At first let's only target 3.0(.0) -- implementation must differ a bit between 2.x and 3.x anyway; so if we decide to backport (in 2.21) we can do that separately.

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.0Issue planned for initial 3.0 release

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions