RegexUnescape

Returns a Json un-escaped string

  • Free Function
  • SQL Server Compatibility: 2008, 2012, 2014, 2016, 2017

Syntax:

SELECT SQLHTTP.net.JsonUnescape ( @JsonValue )

Arguments:

Name Type Description
@JsonValue nvarchar(MAX) Json Value to un-escape.

Return Type:

nvarchar(MAX)

Remarks:

Json un-escaping IS always identical to Regex un-escaping, but Json escaping is NOT always identical to Regex escaping.

Sample Usage:

See Also: