ReferenceContainer Structure Reference
public struct ReferenceContainer : Equatable
extension ReferenceContainer: DataObjectConvertible
A container for a reference to a variable in the data layer.
-
Creates a ReferenceContainer to a variable in the root of a JSON object.
Declaration
Swift
public init(key: String) -
Creates a ReferenceContainer to a variable nested in a JSON object.
Declaration
Swift
public init(path: JSONObjectPath) -
The path to a potentially nested variable in a JSON object.
Declaration
Swift
public var path: JSONObjectPath { get } -
Declaration
Swift
public func toDataObject() -> DataObject