Warning: You are browsing the documentation from version 4 to 10 of Pimcore. Please visit https://pimcore.com/docs/platform/ for the latest versions of Pimcore.
Version: Edit on GitHub

JSON

Symbol

JSON encode or decode its child value.

Keep in mind, that json encoding of some values (like whole object references) might not work and result in an empty result.

Sample: Merge two numbers and return them as json encoded array.

Setting