SettingsManagerService
public struct SettingsManagerService : Codable, Equatable
A struct that is used as the top level container of a model used to decode Settings JSON data.
The struct matches the structure of the Settings JSON exactly and is not currently used to service a struct that models the JSON differently. It embeds nested structs representing arrays in the JSON data.
Note
Unlike the other JSON service structs in the framework this struct names the properties the same as the keys in the JSON to avoid the requirement for CodingKey enums. The simplicity of the Settings JSON structure allows the struct to take advantage of the Codable protocol automatic key generation feature.The properties are settable variables so that settings can be changed programmatically during the run of a client application – this feature is designed specifically for use during unit testing.
-
A struct embedded inside an
SettingsManagerService
struct that is used as a nested layer within an intermediate service model used to decode Settings JSON data.The struct models an array of JSON objects mapped to the
See moreisolatedEntities
key in the Settings JSON data.Declaration
Swift
public struct IsolatedEntity : Codable, Equatable
-
A struct embedded inside an
SettingsManagerService
struct that is used as a nested layer within an intermediate service model used to decode Settings JSON data.The struct models an array of JSON objects mapped to the
See moreisolatedFunctions
key in the Settings JSON data.Declaration
Swift
public struct IsolatedFunction : Codable, Equatable