Interface: ToObjectOptions
Defined in: netconf/src/xml/project.ts:11
Options for toObject().
Properties
arrays?
ts
readonly arrays?: "auto" | "always";Defined in: netconf/src/xml/project.ts:17
'auto'(default): a key holds an array only when the element name repeats.'always': every child key holds an array, so the shape doesn't depend on the data. Use this when reading YANG lists that may have one entry.
attributes?
ts
readonly attributes?: boolean;Defined in: netconf/src/xml/project.ts:19
Include attributes under an '@' key, and the text under '#text'. Default false.