Skip to content

any ​

Accepts any JSON value, including objects and lists, and returns it unchanged.

Error codes: none

Live example · edit rules or inputOpen in playground
rules
input
Validoutput
{
  "metadata": {
    "source": "import",
    "tags": [
      "a",
      "b"
    ]
  }
}

Unlike any_object, it accepts every type. Unlike a field without rules, the value is kept in the output.

Use string for strings: any is for JSON blobs.

WARNING

Removing unknown fields is a security property of LIVR, and any turns it off for its value.