JsonValue.Save Method (TextWriter)
Microsoft Silverlight will reach end of support after October 2021. Learn more.
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
- textWriter
Type: System.IO.TextWriter
The TextWriter used to write text-based JSON.
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.