FromJSON
open class FromJSON: DataQuery
A data query subclass for queries that obtain a response from caller-supplied JSON text.
-
Caller-supplied JSON text.
Declaration
Swift
final public var text: String = ""
-
Default initializer.
Declaration
Swift
override public init()
-
Declaration
Swift
open class func entity(_ text: String) -> DataQuery
Parameters
text
JSON text.
Return Value
A query that obtains a single entity from the provided JSON text.
-
Declaration
Swift
open class func entitySet(_ text: String) -> DataQuery
Parameters
text
JSON text.
Return Value
A query that obtains an entity list from the provided JSON text.