SwiftprotocolJetCore
JSONTypeCluster
protocol JetCore.JSONTypeCluster
Members 6
- associatedtype
associatedtype Base - associatedtype
associatedtype Kind - func
method descriptor for makeInstance(ofKind: A.Kind, byDeserializing: JetCore.JSONObject, using: JetCore.JSONContext) throws -> A.Base - func
makeInstances(ofKind: A.Kind, byDeserializing: JetCore.JSONArray, using: JetCore.JSONContext) throws -> [A.Base] - func
tryToMakeInstance(ofKind: A.Kind, byDeserializing: JetCore.JSONObject, using: JetCore.JSONContext) -> A.Base? - func
tryToMakeInstances(ofKind: A.Kind, byDeserializing: JetCore.JSONArray, using: JetCore.JSONContext) -> [A.Base]
Header
protocol JSONTypeCluster { associatedtype Kind associatedtype Base func makeInstance(ofKind: Self.Kind, byDeserializing: JetCore.JSONObject, using: JetCore.JSONContext) throws -> Self.Base } extension JetCore.JSONTypeCluster { func makeInstances(ofKind: Self.Kind, byDeserializing: JetCore.JSONArray, using: JetCore.JSONContext) throws -> [Self.Base] func tryToMakeInstance(ofKind: Self.Kind, byDeserializing: JetCore.JSONObject, using: JetCore.JSONContext) -> Self.Base? func tryToMakeInstances(ofKind: Self.Kind, byDeserializing: JetCore.JSONArray, using: JetCore.JSONContext) -> [Self.Base] }