JsonValue.Save Method (Stream)
Microsoft Silverlight will reach end of support after October 2021. Learn more.
When implemented in a derived class, serializes the JsonValue CLR type into text-based JSON using a stream.
Namespace:  System.Json
Assembly:  System.Json (in System.Json.dll)
Syntax
'Declaration
Public MustOverride Sub Save ( _
    stream As Stream _
)
public abstract void Save(
    Stream stream
)
Parameters
- stream
 Type: System.IO.Stream
 Stream to which to write text-based JSON.
Remarks
This method is implemented by JsonPrimitive, JsonArray, and JsonObject, each of which derives from JsonValue.
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.