Serializes an array of Field objects to the given media type.
Field
type
Promise that resolves to a Serialization
Promise
Serialization
UnsupportedSerializerTypeError when type is not supported
UnsupportedSerializerTypeError
media type of the target serialization
array of Field objects
Generated using TypeDoc
Serializes an array of
Field
objects to the given mediatype
.Returns
Promise
that resolves to aSerialization
Throws
UnsupportedSerializerTypeError
whentype
is not supported