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