Escaping characters

Another action that is automatically performed when JSON is generated by using the FOR JSON clause is escaping special characters from text columns according to JSON's escaping rules. The rules are explained in detail in the Primitive JSON data types section earlier in this chapter.

Get SQL Server 2017 Developer's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.