public class JSONCallback extends BasicBSONCallback
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_msDateFormat |
static java.lang.String |
_secDateFormat |
| Constructor and Description |
|---|
JSONCallback() |
| Modifier and Type | Method and Description |
|---|---|
BSONObject |
create() |
protected BSONObject |
createList() |
java.lang.Object |
objectDone() |
void |
objectStart(boolean array,
java.lang.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, setRootpublic static final java.lang.String _msDateFormat
public static final java.lang.String _secDateFormat
public BSONObject create()
create in class BasicBSONCallbackprotected BSONObject createList()
createList in class BasicBSONCallbackpublic void objectStart(boolean array,
java.lang.String name)
objectStart in class BasicBSONCallbackpublic java.lang.Object objectDone()
objectDone in interface BSONCallbackobjectDone in class BasicBSONCallback