Member Junction
    Preparing search index...
    • Escape a value for placement inside a double-quoted JSON string.

      Deliberately escapes only what JSON requires, without adding the surrounding quotes: templates write "{{ context.X }}" and supply their own. Returning a quoted string here would produce ""value"" in every existing template.

      Parameters

      • value: string

      Returns string