JsonValue.Save Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

Serializes the JsonValue CLR type into text-based JSON.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method Save(Stream) When implemented in a derived class, serializes the JsonValue CLR type into text-based JSON using a stream.
Public method Save(TextWriter) Serializes the JsonValue CLR type into text-based JSON using a text writer.

Top

Remarks

This class has two overloads. Save(TextWriter) saves the JSON CLR type by writing it to text-based JSON with a TextWriter. Save(Stream) is an abstract method that must be implemented in classes that derive from JsonValue.