Literals/String: Difference between revisions
Content added Content deleted
(→{{header|JavaScript}}: Added template literals) |
No edit summary |
||
Line 1,317: | Line 1,317: | ||
jq allows the shorthand: "The value of s is \(s)", and in general, arbitrarily many such interpolations may be made. |
jq allows the shorthand: "The value of s is \(s)", and in general, arbitrarily many such interpolations may be made. |
||
=={{header|JSON}}== |
|||
A JSON string literal is a sequence of zero or more Unicode characters, wrapped in double quotes, using backslash escapes. Unicode code points can be represented as a hexadecimal escape sequence, like <code>"\u002F"</code> which is the same as <code>"/"</code>. Multi-line strings are not supported. |
|||
=={{header|Julia}}== |
=={{header|Julia}}== |