For the complete documentation index, see llms.txt. For a full content snapshot, see llms-full.txt. Append .md to any kestra.io/docs/* URL for plain Markdown.

The json() Pebble function has been removed in Kestra 2.0.0. Replace every call to json(...) with fromJson(...). The function signature and behavior are identical.

Before

{{ json(outputs.request.body).products[0].id }}
{{ json(kv('my_json_key')).field }}

After

{{ fromJson(outputs.request.body).products[0].id }}
{{ fromJson(kv('my_json_key')).field }}

What to update

Search your flows and templates for json( and replace each occurrence with fromJson(. The json Pebble test ({% if x is json %}) is unrelated and still works — only the function call form changes.

Was this page helpful?