JsonValue.Save Method (TextWriter)

Serializes the JsonValue CLR type into text-based JSON using a text writer.

Namespace:  System.Json
Assembly:  System.Json (in System.Json.dll)

Syntax

'Declaration
Public Overridable Sub Save ( _
    textWriter As TextWriter _
)
public virtual void Save(
    TextWriter textWriter
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

textWriter is nulla null reference (Nothing in Visual Basic).

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.