private void emitMyself(final SchemaContext schema, final JsonWriter writer) throws IOException { if (!emittedMyself) { if (parent != null) { parent.emittingChild(schema, writer); } emitStart(schema, writer); emittedMyself = true; } }