DotNetBrowser  1.14
Public Member Functions | Properties | List of all members
DotNetBrowser.JSONString Class Reference

Represents a string in JSON format. When this value is passed to JavaScript side, it will be automatically parsed and converted to appropriate JavaScript object. More...

Public Member Functions

 JSONString (string value)
 Constructs a new JSONValue instance with the given value that represents a string in JSON format. More...
 

Properties

string Value [get]
 Gets a string in JSON format. More...
 

Detailed Description

Represents a string in JSON format. When this value is passed to JavaScript side, it will be automatically parsed and converted to appropriate JavaScript object.

Constructor & Destructor Documentation

DotNetBrowser.JSONString.JSONString ( string  value)

Constructs a new JSONValue instance with the given value that represents a string in JSON format.

Parameters
valuea string in JSON format. Cannot be empty string or null.
Exceptions
ArgumentExceptionwhen value is empty or null.

Property Documentation

string DotNetBrowser.JSONString.Value
get

Gets a string in JSON format.