Escaping represents text inside JSON syntax
A JSON string is surrounded by double quotes. A quote, backslash, or control character inside the value must be represented with an escape sequence so it is not mistaken for syntax. Escape mode uses the browser's JSON serializer to produce one complete literal, including the outer quotes.
The transformation does not create an object member or request body by itself. Insert the literal at a location where a JSON value is expected, and validate the final document. Escaping the entire object text would turn the object into a string rather than embedding its members.