Skip to content

Initializer

init(json:)

Initialize a MySQLDataDecoder with a JSON decoder.
init(json: JSONDecoder = .init())

Parameters

json

A JSONDecoder to use for decoding types that can’t be directly converted. Defaults to an unconfigured decoder.