Pular para o conteúdo

Interface: FpXml2JsonOptions

Definido em: fp-api.d.ts:263

Options for fp.response.xml2Json(opts).

optional alwaysArray?: string[];

Definido em: fp-api.d.ts:276

Tag names (or full jpaths like "Envelope.Body.LoginResponse.roles.role") that must always be materialised as arrays, even when they appear exactly once in the document. Default: [].


optional stripNamespaces?: boolean;

Definido em: fp-api.d.ts:269

If true, strip namespace prefixes from element and attribute names: "soap:Body" → "Body". When two namespaces declare tags with the same local name, the last one wins. Default: false.