☁️ Loving our new documentation website? Provide feedback in the CloudCannon Community! ✨

Object Empty Type

Table of contents

Description:

This key defines how an 'empty' value will be saved. Does not apply to existing empty values.

Appears in:
└── _inputs
    └── *
        └── Object Input
            └── options
                └── Object Empty Type
Type:
string
Default value:
null
Allowed values:
null
object
Examples:

In this example, we have configured how empty object values will be saved.

Copied to clipboard
_inputs:
  metadata:
    type: object
    options:
      empty_type: object
{
  "_inputs": {
    "metadata": {
      "type": "object",
      "options": {
        "empty_type": "object"
      }
    }
  }
}
Open in a new tab