JSONValue | iOS SDK | Urbi Documentation
iOS SDK

JSONValue

public init(nilLiteral: ())
Creates an instance initialized with .<br/>This documentation comment was inherited from .
public init(booleanLiteral value: Bool)
Creates an instance initialized to the given Boolean value.<br/>This documentation comment was inherited from .
Parameters
value
Bool
Value of the new instance.
public init(integerLiteral value: Int64)
Creates an instance initialized to the specified integer value.<br/>This documentation comment was inherited from .
Parameters
value
Int64
The value to create.
public init(floatLiteral value: Double)
Creates an instance initialized to the specified floating-point value.<br/>This documentation comment was inherited from .
Parameters
value
Double
The value to create.
public init(stringLiteral value: String)
Creates an instance initialized to the given string value.<br/>This documentation comment was inherited from .
Parameters
value
String
Value of the new instance.
public init(arrayLiteral elements: JSONValue...)
Creates an instance initialized with the given elements.<br/>This documentation comment was inherited from .
Parameters
elements
public init(dictionaryLiteral elements: (String, JSONValue)...)
Creates an instance initialized with the given key-value pairs.<br/>This documentation comment was inherited from .
public init(from decoder: Decoder) throws
Creates a new instance by decoding from the given decoder.
Parameters
decoder
Decoder
Decoder to read data from.
Methods
Properties