JSON
-
Serialize a
JSON
toData
Declaration
Swift
public func toData() throws -> Data
-
Deserialize a
JSON
fromData
Declaration
Swift
public static func fromData(_ data: Data) throws -> JSON
-
init a
JSON
object from a JSON-encoded stringDeclaration
Swift
init?(string: String)