Skip to content

Interface: FormatOptions ​

Defined in: netconf/src/operations/json.ts:49

The output options of a read that returns YANG data.

Extended by ​

Properties ​

format? ​

ts
readonly format?: "xml" | "json";

Defined in: netconf/src/operations/json.ts:55

'xml': the data as XML elements. 'json': an RFC 7951 JSON object. The default depends on the layer: 'xml' for client.ops reads (the <data> element), 'json' for client.content reads.


json? ​

ts
readonly json?: JsonOptions;

Defined in: netconf/src/operations/json.ts:57

Options for format: 'json'.

Released under the MIT Licence.