DictionaryMapper interface

A mapper describing plain JavaScript objects used as key/value pairs.

Extends

Properties

headerCollectionPrefix

Optionally, a prefix to add to the header collection.

type

The type descriptor of the DictionaryMapper.

Inherited Properties

constraints

Constraints to test the current value against

defaultValue

Default value when one is not explicitly provided

isConstant

Whether or not the current property is a constant

nullable

Whether or not the current property allows mull as a value

readOnly

Whether or not the current property is readonly

required

Whether or not the current property is required

serializedName

The name to use when serializing

xmlElementName

Name for the xml elements when serializing an array

xmlIsAttribute

Determines if the current property should be serialized as an attribute of the parent xml element

xmlIsMsText

Determines if the current property should be serialized as the inner content of the xml element

xmlIsWrapped

Whether or not the current property should have a wrapping XML element

xmlName

Name for the xml element

xmlNamespace

Xml element namespace

xmlNamespacePrefix

Xml element namespace prefix

Property Details

headerCollectionPrefix

Optionally, a prefix to add to the header collection.

headerCollectionPrefix?: string

Property Value

string

type

The type descriptor of the DictionaryMapper.

type: DictionaryMapperType

Property Value

Inherited Property Details

constraints

Constraints to test the current value against

constraints?: MapperConstraints

Property Value

Inherited From BaseMapper.constraints

defaultValue

Default value when one is not explicitly provided

defaultValue?: any

Property Value

any

Inherited From BaseMapper.defaultValue

isConstant

Whether or not the current property is a constant

isConstant?: boolean

Property Value

boolean

Inherited From BaseMapper.isConstant

nullable

Whether or not the current property allows mull as a value

nullable?: boolean

Property Value

boolean

Inherited From BaseMapper.nullable

readOnly

Whether or not the current property is readonly

readOnly?: boolean

Property Value

boolean

Inherited From BaseMapper.readOnly

required

Whether or not the current property is required

required?: boolean

Property Value

boolean

Inherited From BaseMapper.required

serializedName

The name to use when serializing

serializedName?: string

Property Value

string

Inherited From BaseMapper.serializedName

xmlElementName

Name for the xml elements when serializing an array

xmlElementName?: string

Property Value

string

Inherited From BaseMapper.xmlElementName

xmlIsAttribute

Determines if the current property should be serialized as an attribute of the parent xml element

xmlIsAttribute?: boolean

Property Value

boolean

Inherited From BaseMapper.xmlIsAttribute

xmlIsMsText

Determines if the current property should be serialized as the inner content of the xml element

xmlIsMsText?: boolean

Property Value

boolean

Inherited From BaseMapper.xmlIsMsText

xmlIsWrapped

Whether or not the current property should have a wrapping XML element

xmlIsWrapped?: boolean

Property Value

boolean

Inherited From BaseMapper.xmlIsWrapped

xmlName

Name for the xml element

xmlName?: string

Property Value

string

Inherited From BaseMapper.xmlName

xmlNamespace

Xml element namespace

xmlNamespace?: string

Property Value

string

Inherited From BaseMapper.xmlNamespace

xmlNamespacePrefix

Xml element namespace prefix

xmlNamespacePrefix?: string

Property Value

string

Inherited From BaseMapper.xmlNamespacePrefix