217218219220221222223
throw new IllegalStateException("Can not write START_OBJECT; schema type is " +_schema.getType()); } GenericRecord rec = _createRecord(_schema); _rootValue = rec; return new ObjectWriteContext(this, _generator, rec); }