AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

StringExtensions..::..JavaScriptDeserialize Method

Deserializes a JavaScript-escaped string back to its original form. Wraps the input in quotes if not already present before deserializing.

Namespace:  AdvantageCMS.Core.Common
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public static string JavaScriptDeserialize(
	this string s
)

Parameters

s
Type: String
The JavaScript-escaped string to deserialize.

Return Value

The original unescaped string.