public void writeNativeResponse(NativeResponse resp, OutputStream os) throws IOException {
    """
	Serializes a {@link NativeResponse} to JSON, streamed to a {@link OutputStream}.
	
	@see JsonFactory#createGenerator(OutputStream)
    """
    JsonGenerator gen = factory().getJsonFactory().createGenerator(os);
    writeNativeResponse(resp, gen);
  }
public void writeNativeResponse(NativeResponse resp, OutputStream os) throws IOException {
    JsonGenerator gen = factory().getJsonFactory().createGenerator(os);
    writeNativeResponse(resp, gen);
  }
public void writeNativeResponse ( NativeResponse resp , OutputStream os ) throws IOException { JsonGenerator gen = factory ( ) . getJsonFactory ( ) . createGenerator ( os ) ; writeNativeResponse ( resp , gen ) ; }
Serializes a {@link NativeResponse} to JSON, streamed to a {@link OutputStream}.

@see JsonFactory#createGenerator(OutputStream)
Serializes a { @link NativeResponse } to JSON streamed to a { @link OutputStream } .