Array
public extension Array
public extension Array where Element == URLQueryItem
public extension Array where Element == String
public extension Array where Element == JsonOutput
-
Converts current array of arbitrary objects to a JSON
String
or nil if it cannot be converted.Declaration
Swift
var jsonString: String? { get }
Return Value
Optional JSON String representation of the input or nil if it cannot be converted.
-
Converts current array of
URLQueryItem
to a dictionary ofURLQueryItem
values, keyed byURLQueryItem
names.Declaration
Swift
var dictionary: [String : String] { get }
Return Value
Dictionary of
URLQueryItem
values, keyed byURLQueryItem
names.
-
Converts current array of
String
to a JSONString
or an empty JSON ArrayString
if it cannot be converted/.Declaration
Swift
var jsonStringArray: String { get }
Return Value
JSON
String
representation of the input or an empty JSON ArrayString
if it cannot be converted.
-
Returns JSON
String
representation of anArray
where the element type conforms toJsonOutput
protocol or an empty JSON ArrayString
if it cannot be converted..Declaration
Swift
var json: String { get }
Return Value
JSON
String
representation of the input or an empty JSON ArrayString
if it cannot be converted.