P
P
partisan422020-05-27 06:32:31
CMS
partisan42, 2020-05-27 06:32:31

Can curly braces interfere with JSON form output?

Good day.
I have a site built on the basis of CMS Joomla, and there is a component that displays feedback forms using a shortcode. And there is also a page that is made using a page builder that uses JSON for all markup.
The essence of the question is the following. I have a shortcode {convertforms 1} which is used in the page as {"modal_content_text":"{convertforms 1}"}.
And now the problem. {convertforms 1} doesn't work for me, can the problem be in curly braces inside curly braces? And maybe there is some kind of special character that will escape curly braces so that they are processed not as a service character, but as plain text?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
lightmanLP, 2020-05-27
@partisan42

If there is some kind of error, then add a backslash ("\") in front of the character.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question