Escapes a string by replacing characters with escape sequences so that the string can be used when constructing JSON documents. It doesn’t change strings that don’t have anything to escape.


{{ "Have you read 'James & the Giant Peach'?" | json_escape }}


Have you read \'James & the Giant Peach\'?
© 2014-2023 Cyotek Ltd. All Rights Reserved.
Documentation version 1.8 (buildref #134.15653), last modified 2023-04-04. Generated 2023-09-10 07:55 using Cyotek HelpWrite Professional version 6.19.1