Initializer
init(jsonEncoder:)
Creates a
PostgresEncodingContext with the given PostgresJSONEncoder. In case you want to use a PostgresEncodingContext with an unconfigured Foundation JSONEncoder you can use the default context instead.init(jsonEncoder: JSONEncoder)
Parameters
jsonEncoderA
PostgresJSONEncoderto use when encoding objects to JSON.