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
Stringor 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
URLQueryItemto a dictionary ofURLQueryItemvalues, keyed byURLQueryItemnames.Declaration
Swift
var dictionary: [String : String] { get }Return Value
Dictionary of
URLQueryItemvalues, keyed byURLQueryItemnames.
-
Converts current array of
Stringto a JSONStringor an empty JSON ArrayStringif it cannot be converted/.Declaration
Swift
var jsonStringArray: String { get }Return Value
JSON
Stringrepresentation of the input or an empty JSON ArrayStringif it cannot be converted.
-
Returns JSON
Stringrepresentation of anArraywhere the element type conforms toJsonOutputprotocol or an empty JSON ArrayStringif it cannot be converted..Declaration
Swift
var json: String { get }Return Value
JSON
Stringrepresentation of the input or an empty JSON ArrayStringif it cannot be converted.
View on GitHub
Array Extension Reference