SwiftprotocolJetCore

protocol JetCore.JSONTypeCluster

Members 6

  1. associatedtypeassociatedtype Base
  2. associatedtypeassociatedtype Kind
  3. funcmethod descriptor for makeInstance(ofKind: A.Kind, byDeserializing: JetCore.JSONObject, using: JetCore.JSONContext) throws -> A.Base
  4. funcmakeInstances(ofKind: A.Kind, byDeserializing: JetCore.JSONArray, using: JetCore.JSONContext) throws -> [A.Base]
  5. functryToMakeInstance(ofKind: A.Kind, byDeserializing: JetCore.JSONObject, using: JetCore.JSONContext) -> A.Base?
  6. functryToMakeInstances(ofKind: A.Kind, byDeserializing: JetCore.JSONArray, using: JetCore.JSONContext) -> [A.Base]
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]
}