KD31

struct KD31 : Codable, Equatable

A struct embedded inside a KB21 struct that is used as a nested layer within an intermediate service model used to decode EntityLog JSON data

The struct models an array of JSON objects mapped to the function_nodes key in the EntityLog JSON data.

Note

The struct uses a custom semantic naming system to name properties associated with key value pairs and their position in the JSON. This system was developed as an aid to correctly map each key to its position in the struct.
  • kE

    An integer mapped to the print_number key in the EntityLog JSON data.

    Declaration

    Swift

    let kE: Int
  • kF

    An enum of type NodeType mapped to the node_type key in the EntityLog JSON data where it is represented as an integer.

    Declaration

    Swift

    let kF: NodeType
  • kG

    A string mapped to the event_description key in the EntityLog JSON data.

    Declaration

    Swift

    let kG: String
  • kH

    A string mapped to the effect_description key in the EntityLog JSON data.

    Declaration

    Swift

    let kH: String
  • An enum that conforms to the CodingKey protocol for storing the key strings used to decode KD31 from the JSON data.

    See more

    Declaration

    Swift

    enum CodingKeys : String, CodingKey