Data-Mate: `Vector Interfaces Serialize Options`
vector/interfaces.SerializeOptions
Options used for JSON serialization
Table of contents
Properties
- skipDuplicateObjects
- skipEmptyArrays
- skipEmptyObjects
- skipNilListValues
- skipNilObjectValues
- skipNilValues
- useNullForUndefined
Properties
skipDuplicateObjects
• Optional
skipDuplicateObjects: boolean
Remove duplicate objects in a list vector
Defined in
data-mate/src/vector/interfaces.ts:109
skipEmptyArrays
• Optional
skipEmptyArrays: boolean
Don't return any empty List or Tuple values
Defined in
data-mate/src/vector/interfaces.ts:88
skipEmptyObjects
• Optional
skipEmptyObjects: boolean
Remove objects with properties
Defined in
data-mate/src/vector/interfaces.ts:104
skipNilListValues
• Optional
skipNilListValues: boolean
Don't return any values that are null/undefined
Defined in
data-mate/src/vector/interfaces.ts:93
skipNilObjectValues
• Optional
skipNilObjectValues: boolean
Don't return any object values in list that are null/undefined. This will have no change in behavior if skipNilListValues is true
Defined in
data-mate/src/vector/interfaces.ts:99
skipNilValues
• Optional
skipNilValues: boolean
Don't return any values that are null/undefined. This does not apply to list or tuples, use skipNilListValues or skipNilObjectValues instead.
Defined in
data-mate/src/vector/interfaces.ts:83
useNullForUndefined
• Optional
useNullForUndefined: boolean
Use a null values in-place of undefined so it can preserved when calling JSON.stringify