AssetJSONDecoder
public protocol AssetJSONDecoder
Public interface allowing creation of codable object from data
-
from(data:)Default implementationMethod that returns Generic
Codableobject fromDataDefault Implementation
Declaration
Swift
static func from<T>(data: Data) throws -> T where T : Decodable, T : EncodableParameters
dataData from which the object need to be constructed
View on GitHub
AssetJSONDecoder Protocol Reference