The FMPUtils.QueryResultParser.Builder class is a builder for the FMPUtils.QueryResultParser class.
class Builder
Method | Description |
json(_:) | Save the JSON structure, with which FMPUtils.QueryResultParser will work, to variable. func json(_ json: NSDictionary) -> Builder Parameters:
|
build() | Build an instance of the FMPUtils.QueryResultParser class. It returns the object of the FMPUtils.QueryResultParser type. func build() -> FMPUtils.QueryResultParser |
Build an instance of the FMPUtils.QueryResultParser class:
// Build an instance of the FMPUtils.QueryResultParser class
let queryResult: FMPUtils.QueryResultParser = FMPUtils().queryResult
.json(["key":"value"]) // By default [:]
.build()
See also: