Protocol
PostgresJSONDecoder
A protocol that mimics the Foundation
JSONDecoder.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 (see PostgresNIO._defaultJSONDecoder).@preconcurrency protocol PostgresJSONDecoder : Sendable
Topics
Instance Methods
Relationships
Inherits From
Swift.SendableSwift.SendableMetatype
Conforming Types
JSONDecoder
See Also
JSON
PostgresJSONEncoderA protocol that mimics the FoundationJSONEncoder.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 (seePostgresNIO._defaultJSONEncoder).