public class NullJsonGeneratorDecorator extends Object implements JsonGeneratorDecorator
JsonGeneratorDecorator that doesn't do any decoration.
It just returns the generator as-is.| Constructor and Description |
|---|
NullJsonGeneratorDecorator() |
| Modifier and Type | Method and Description |
|---|---|
JsonGenerator |
decorate(JsonGenerator generator)
Decorates the given generator, and returns the decorated generator.
|
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.