public class PrettyPrintingJsonGeneratorDecorator extends Object implements JsonGeneratorDecorator
JsonGenerator| Constructor and Description |
|---|
PrettyPrintingJsonGeneratorDecorator() |
| Modifier and Type | Method and Description |
|---|---|
JsonGenerator |
decorate(JsonGenerator generator)
Decorates the given generator, and returns the decorated generator.
|
public PrettyPrintingJsonGeneratorDecorator()
public JsonGenerator decorate(JsonGenerator generator)
JsonGeneratorDecoratorThe returned decorator does not need to be the same object as the given generator.
decorate in interface JsonGeneratorDecoratorgenerator - the generator to decorateCopyright © 2013–2021. All rights reserved.