payload-vars playground

Test validation and transformation by editing a generated payload directly. Click on to restore the example template and testing payload.

01

Template

Editable

Validated by PayloadTemplate after editing pauses.

02

Payload

JSON input

Testing values are preserved as the template changes, while newly declared variables are appended automatically. Changes render automatically.

03

Rendered

template.render( payload, { passthrough: false } )

The active input and passthrough option are passed directly to render(). Failed rendering is shown as an error list.


      
    

Variable contracts

Metadata returned by variables(), summarized for quick inspection.

The UI form is intentionally small and replaceable. Only contracts with an @ interaction are exposed as controls.