...
...
" ... but we need to embed single quotes inside. Let's construct a small example:Text
. In JSON, we need to write: "Text
" but the single quotes inside need to be escaped as \' because JSON uses double quotes for strings. Actually JSON strings are double-quoted, so any single quote inside does not need escaping, only double quotes need escaping. Wait: In JSON, strings are enclosed in double quotes. Inside the string, you can have single quotes without escaping. Only double quotes need to be escaped with ". So we can write class='