Networked Media Open Specifications

Datatype marshalling

←API requests · Index↑ · IS-04 interactions→

Clients and devices MUST map the following MS-05-02 datatypes to the corresponding JSON representations when sending requests and responses.

Datatype type JSON representation
enums Integer associated enum value
NcString string
NcBoolean boolean
NcInt16 number
NcInt32 number
NcInt64 number
NcUint16 number (must be unsigned)
NcUint32 number (must be unsigned)
NcUint64 number (must be unsigned)
NcFloat32 number (must be floating point)
NcFloat64 number (must be floating point)
struct types object
sequences of primitive types array of primitive types
sequences of struct types array of objects

For specific datatype definitions consult the NMOS Control Framework.

←API requests · Index↑ · IS-04 interactions→