Use json_decode filter not work

Created on 3 March 2024, 4 months ago
Updated 15 April 2024, 2 months ago

Hello,

json_decode
Decodes a JSON string into an object or array.

I use this filter and it doesn't work, and get page error.

bamboo_twig β†’

{% set testbamboo = bamboo_load_entity('node', 1) %}
{% set jsonbamboo = testbamboo.field_jsondata.value | json_decode %}

{{ jsonbamboo.key }}

Page error:
The website encountered an unexpected error. Try again later.

πŸ’¬ Support request
Status

Fixed

Version

2.0

Component

Documentation

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024