Required Static Methodgrdb 7.2.0GRDB

databaseJSONEncoder(for:)

Returns the JSONEncoder that encodes the value for a given column.

EncodableRecord.swift:137
static func databaseJSONEncoder(for column: String) -> JSONEncoder

This method is dedicated to EncodableRecord types that also conform to the standard Encodable protocol and use the default encode(to:) implementation.