-
Notifications
You must be signed in to change notification settings - Fork 0
API: CDIFPrimitiveValue
Madeline Kahn edited this page Jul 24, 2025
·
4 revisions
API › "@mkacct/cdif" › CDIFPrimitiveValue
class CDIFPrimitiveValueA CDIFPrimitiveValue object represents an encoded cDIF primitive value. When used within a structure to be serialized, its cDIF text will be used as-is, and any preprocessors will be skipped. It is comparable to JavaScript's "raw JSON" objects.
public readonly cdifVersion: numberThe major version of cDIF used by the CDIF instance that created this CDIFPrimitiveValue. (A CDIFPrimitiveValue can only be serialized by the same CDIF instance that created it.)
public readonly cdifText: stringThe cDIF text representation of the primitive value.