public class JSONCallback extends BasicBSONCallback
Constructor and Description |
---|
JSONCallback() |
Modifier and Type | Method and Description |
---|---|
BSONObject |
create() |
protected BSONObject |
createList() |
Object |
objectDone() |
void |
objectStart(boolean array,
String name) |
_put, arrayDone, arrayStart, arrayStart, create, createBSONCallback, cur, curName, get, gotBinary, gotBinaryArray, gotBoolean, gotCode, gotCodeWScope, gotDate, gotDBRef, gotDouble, gotInt, gotLong, gotMaxKey, gotMinKey, gotNull, gotObjectId, gotRegex, gotString, gotSymbol, gotTimestamp, gotUndefined, gotUUID, isStackEmpty, objectStart, objectStart, objectStart, reset, setRoot
public BSONObject create()
create
in class BasicBSONCallback
protected BSONObject createList()
createList
in class BasicBSONCallback
public void objectStart(boolean array, String name)
objectStart
in class BasicBSONCallback
public Object objectDone()
objectDone
in interface BSONCallback
objectDone
in class BasicBSONCallback