# Class ARI1JInstrumentSerializer

java.lang.Object
com.io7m.aradine.instrument.spi1.json_data.internal.ARI1JInstrumentSerializer

All Implemented Interfaces:
  `com.io7m.anethum.api.SerializerType<ARI1InstrumentDescription>, ARI1InstrumentSerializerType, Closeable, AutoCloseable`

public final class ARI1JInstrumentSerializer extends Object implements ARI1InstrumentSerializerType
The instrument serializer.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ARI1JInstrumentSerializer(OutputStream inStream)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `close()`
  `void`
  `execute(ARI1InstrumentDescription description)`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### ARI1JInstrumentSerializer

    public ARI1JInstrumentSerializer(OutputStream inStream)
    Parameters:
      `inStream` - The output stream

- ## Method Details

  - ### execute

    public void execute(ARI1InstrumentDescription description)
    Specified by:
      `execute` in interface `com.io7m.anethum.api.SerializerType<ARI1InstrumentDescription>`

  - ### close

    public void close() throws IOException
    Specified by:
      `close` in interface `AutoCloseable`
    Specified by:
      `close` in interface `Closeable`
    Throws:
      `IOException`