public boolean inObject ( ) { return writeStack . peek ( ) == JsonTokenType . BEGIN_OBJECT || ( writeStack . peek ( ) == JsonTokenType . BEGIN_DOCUMENT && ! isArray ) ; }
Determines if the writer is currently in an object