JsonWriterSettingspublic class BsonWriterSettings extends Object
| Constructor | Description |
|---|---|
BsonWriterSettings() |
Creates a new instance of the settings with the default maximum serialization depth of 1024.
|
BsonWriterSettings(int maxSerializationDepth) |
Creates a new instance of the settings with the given maximum serialization depth.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
getMaxSerializationDepth() |
Gets the maximum nuber of levels of depth defined by this settings object.
|
public BsonWriterSettings(int maxSerializationDepth)
maxSerializationDepth - the maximum number of nested levels to serialisepublic BsonWriterSettings()