How to retain new line character in JSON_VALUE output in SQL server.
DECLARE @jsonString NVARCHAR(MAX) ='{"name":"jonh","address":"100 st \n city ,country"}'
SELECT JSON_VALUE(@jsonString,'$.address')
Output is "100 st city ,country
"
but I want output to be "100 st \n city ,country
"
How to retain new line character.