code: @Override
    public void beginObject()
    {
      int p = peeked;
      if (p == PEEKED_NONE) {
        p = doPeek();
      }
      if (p == PEEKED_BEGIN_OBJECT) {
        push(JsonScope.EMPTY_OBJECT);
        peeked = PEEKED_NONE;
      } else {
        throw new IllegalStateException("Expected BEGIN_OBJECT but was " + peek()
            + " at line " + getLineNumber() + " column " + getColumnNumber());
      }
    }
docs: {@inheritDoc}