public class JsonWriter.Context extends AbstractBsonWriterContext
| Constructor and description |
|---|
Context
(JsonWriter.Context parentContext, BsonContextType contextType, java.lang.String indentChars)Creates a new context. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public JsonWriter.Context |
getParentContext() |
Creates a new context.
parentContext - the parent context that can be used for going back up to the parent levelcontextType - the type of this contextindentChars - the String to use for indentation at this level.