IonGenerator extends GeneratorBase { @Override public void writeBoolean(boolean value) throws IOException, JsonGenerationException { _verifyValueWrite("write boolean"); _writer.writeBool(value); } IonGenerator(ObjectWriteContext writeCtxt, IOContext ioCtxt,
            int streamWriteFeatures,
            IonWriter ion, boolean ionWriterIsManaged, Closeable dst); @Override Version version(); @Override TokenStreamContext getOutputContext(); @Override Object getCurrentValue(); @Override void setCurrentValue(Object v); @Override int getOutputBuffered(); @Override Object getOutputTarget(); @Override void close(); @Override void flush(); @Override boolean isClosed(); @Override boolean canWriteTypeId(); @Override boolean canWriteBinaryNatively(); @Override // @since 2.12 JacksonFeatureSet<StreamWriteCapability> getWriteCapabilities(); @Override void writeNumber(short v); @Override void writeNumber(int value); @Override void writeNumber(long value); @Override void writeNumber(BigInteger value); @Override void writeNumber(double value); @Override void writeNumber(float value); @Override void writeNumber(BigDecimal value); @Override void writeNumber(String value); void writeSymbol(String value); void annotateNextValue(String annotation); void writeDate(Calendar value); @Override void writeString(String value); @Override void writeString(char[] buffer, int offset, int length); @Override void writeUTF8String(byte[] buffer, int offset, int length); @Override void writeRaw(String value); @Override void writeRaw(char value); @Override void writeRaw(String value, int arg1, int arg2); @Override void writeRaw(char[] value, int arg1, int arg2); @Override void writeRawValue(String value); @Override void writeRawValue(String value, int arg1, int arg2); @Override void writeRawValue(char[] value, int arg1, int arg2); @Override void writeRawUTF8String(byte[] text, int offset, int length); @Override void writeBinary(Base64Variant b64v, byte[] data, int offset, int length); @Override void writeBoolean(boolean value); @Override void writeNull(); void writeNull(IonType ionType); void writeValue(IonValue value); void writeValue(Timestamp value); @Override void writeEndArray(); @Override void writeEndObject(); @Override void writeFieldName(String value); @Override void writeFieldId(long id); @Override void writeStartArray(); @Override void writeStartArray(Object currValue); @Override void writeStartObject(); @Override void writeStartObject(Object currValue); @Override void writeTypeId(Object rawId); @Override WritableTypeId writeTypePrefix(WritableTypeId typeIdDef); @Override String toString();  }
@Test public void testSimpleWrite() throws Exception { joiGenerator.writeBoolean(true); assertThat(output.get(0), is((IonValue)ionSystem.newBool(true))); }