Protocol
PostgresJSONEncoder
A protocol that mimics the Foundation
JSONEncoder.encode(_:) function. Conform a non-Foundation JSON encoder to this protocol if you want PostgresNIO to be able to use it when encoding JSON & JSONB values (see PostgresNIO._defaultJSONEncoder).@preconcurrency protocol PostgresJSONEncoder : Sendable
Topics
Instance Methods
Relationships
Inherits From
Swift.SendableSwift.SendableMetatype
Conforming Types
JSONEncoder
See Also
JSON
PostgresJSONDecoderA protocol that mimics the FoundationJSONDecoder.decode(_:from:)function. Conform a non-Foundation JSON decoder to this protocol if you want PostgresNIO to be able to use it when decoding JSON & JSONB values (seePostgresNIO._defaultJSONDecoder).