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
The 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
The 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
JSONValue...
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.<br/>This documentation comment was inherited from .
Parameters
decoder
Decoder
The decoder to read data from.
Methods
Properties