dump_variable

Table of contents

Dumps a variable in collapsable JSON format in the console log.

Input:
{{ my_variable | dump_variable }}

Output (in the console in your browser development tools):
Plate Variable Dump | type: variable_type | [my_variable serialized as JSON]


Custom label

The standard label is “Plate Variable Dump”. It is also possible to set your own label:
{{ my_variable | dump_variable: "Testing my_variable" }}

Output (in the console in your browser development tools):
Testing my_variable | type: variable_type | [my_variable serialized as JSON]

Need help?

Do you have any question which is not answered in this knowledge base? Contact us. We are here to help you.