Interface ObjectMemberMetadata


UML class diagram of ObjectMemberMetadata
icon for an interface in the UML class diagram interface


  • JsonMemberMetadata
    • ObjectMemberMetadata


deserializer?: ((json: any, params: CustomDeserializerParams) => any)

Type declaration

    • (json: any, params: CustomDeserializerParams): any
    • Custom deserializer to use.


      • json: any
      • params: CustomDeserializerParams

      Returns any

emitDefaultValue?: boolean

If set, a default value will be emitted for uninitialized members.

isRequired?: boolean

If set, indicates that the member must be present when deserializing.

key: string

Property or field key of the json member.

name: string

Member name as it appears in the serialized JSON.

serializer?: ((value: any, params: CustomSerializerParams) => any)

Type declaration

    • (value: any, params: CustomSerializerParams): any
    • Custom serializer to use.


      • value: any
      • params: CustomSerializerParams

      Returns any

type?: (() => TypeDescriptor)

Type declaration

    • (): TypeDescriptor
    • Type descriptor of the member.

      Returns TypeDescriptor