Dev Guide
Dev GuideUser GuidesGitHubDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

PayloadOptions

ODP Node SDK


ODP Node SDK / ODP / PayloadOptions

Interface: PayloadOptions

Defined in: src/Api/Types/PayloadOptions.ts:4

Payload formatting options.

Properties

excludeNulls?

optional excludeNulls: boolean

Defined in: src/Api/Types/PayloadOptions.ts:14

When true (default) the exclude nulls option will remove null valued fields in the payload.


trimToNull?

optional trimToNull: boolean

Defined in: src/Api/Types/PayloadOptions.ts:9

When true (default) the trim to null option will trim all string value fields and if
the result is an empty string the value is changed to null.


Did this page help you?