JSON
public enum JSON : Sendable, Hashable
JSON is a type safe, sendable, hashable representation of a JSON object.
-
Undocumented
Declaration
Swift
case string(String) -
Undocumented
Declaration
Swift
case number(Double) -
Undocumented
Declaration
Swift
case int(Int) -
Undocumented
Declaration
Swift
case array([JSON]) -
Undocumented
Declaration
Swift
case object(Object) -
Undocumented
Declaration
Swift
case boolean(Bool) -
Undocumented
Declaration
Swift
case null -
Undocumented
Declaration
Swift
public static func int(_ int: Int32) -> JSON -
Undocumented
Declaration
Swift
public static let emptyObject: JSON -
Undocumented
Declaration
Swift
public init?(_ value: Any?) -
Undocumented
Declaration
Swift
public var rawValue: Any? { get } -
Undocumented
Declaration
Swift
public var string: String? { get } -
Undocumented
Declaration
Swift
public var isString: Bool { get } -
Undocumented
Declaration
Swift
public var number: Double? { get } -
Undocumented
Declaration
Swift
public var boolean: Bool? { get } -
Undocumented
Declaration
Swift
public var object: Object? { get } -
Undocumented
Declaration
Swift
public var array: [Any]? { get }