Set
struct Set<Element> : SetAlgebra, Hashable, Collection, ExpressibleByArrayLiteral where Element : Hashable
-
Initializes a set from a JSON String
Declaration
Swift
public init?(JSONString: String, context: MapContext? = nil)
-
Initializes a set from JSON
Declaration
Swift
public init?(JSONArray: [[String: Any]], context: MapContext? = nil)
-
Returns the JSON Set
Declaration
Swift
public func toJSON() -> [[String: Any]]
-
Returns the JSON String for the object
Declaration
Swift
public func toJSONString(prettyPrint: Bool = false) -> String?