Click or drag to resize
JsonValueExtensionsAsString Method
Casts (CType) value to JsonString.

Namespace: Dextronet.Jsonie.Extensions
Assembly: Dextronet.Jsonie (in Dextronet.Jsonie.dll) Version: 1.0.0.0
Syntax
public static JsonString AsString(
	this JsonValue value
)

Parameters

value
Type: Dextronet.JsonieJsonValue
Value which will be casted.

Return Value

Type: JsonString
Casted value.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type JsonValue. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Exceptions
ExceptionCondition
InvalidCastExceptionIf value is not type of JsonString.
See Also