public void writeNativeRequest(NativeRequest req, OutputStream os) throws IOException {
    """
	Serializes a {@link NativeRequest} to JSON, streamed into an {@link OutputStream}.
	
	@see JsonFactory#createGenerator(OutputStream)
    """
    JsonGenerator gen = factory().getJsonFactory().createGenerator(os);
    writeNativeRequest(req, gen);
  }
public void writeNativeRequest(NativeRequest req, OutputStream os) throws IOException {
    JsonGenerator gen = factory().getJsonFactory().createGenerator(os);
    writeNativeRequest(req, gen);
  }
public void writeNativeRequest ( NativeRequest req , OutputStream os ) throws IOException { JsonGenerator gen = factory ( ) . getJsonFactory ( ) . createGenerator ( os ) ; writeNativeRequest ( req , gen ) ; }
Serializes a {@link NativeRequest} to JSON, streamed into an {@link OutputStream}.

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