Creates a decoder that uses the given SerialFormat for decoding objects and is compatible with the given media types.
Creates an encoder that uses the given SerialFormat for encoding objects and is compatible with the given media types.