FromJSON
open class FromJSON : DataQuery, @unchecked Sendable
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) -> DataQueryParameters
textJSON text.
Return Value
A query that obtains a single entity from the provided JSON text.
-
Declaration
Swift
open class func entityKey(_ text: String) -> DataQueryParameters
textJSON text, which is expected to only include key properties.
Return Value
A query that obtains a single entity from the provided JSON text.
-
Declaration
Swift
open class func entityList(_ text: String) -> DataQueryParameters
textJSON text.
Return Value
A query that obtains an entity list from the provided JSON text.
-
Declaration
Swift
@available(swift, deprecated: 4.0, renamed: "entityList") open class func entitySet(_ text: String) -> DataQueryParameters
textJSON text.
Return Value
A query that obtains an entity list from the provided JSON text.