MindFusion.Wpf Pack Programmer's Guide
JsonSerializationContext Members
Constructors Fields Properties Methods Events
 


Contains methods that can help you serialize and deserialize MindFusion.Scheduling items to and from JSON.

The following tables list the members exposed by the JsonSerializationContext type.

 Public Constructors

  Name Description

JsonSerializationContext

Initializes a new instance of the JsonSerializationContext class.

 Public Fields

  Name Description

LatestFormat

Specifies the latest file format revision number.

 Protected Fields

  Name Description

brushes

A list of all brushes. (Inherited from JsonContext.)

inplaceResources

Specifies whether resource accumulation is disabled. (Inherited from JsonContext.)

 Public Properties

  Name Description

FileVersion

Gets the format revision number for the file being currently serialized.

Schedule

Gets the underlying schedule object.

 Public Methods

  Name Description

Parse

Deserializes the specified JSON formatted string to a JsonObject. (Inherited from JsonContext.)

ReadBrush

Overloaded.   (Inherited from JsonContext.)

ReadBrushColor

Reads a Brush object with the specified color. (Inherited from JsonContext.)

ReadBrushes

Reads all brushes. (Inherited from JsonContext.)

ReadColor

Overloaded.   (Inherited from JsonContext.)

ReadColorBlend

Reads a GradientStopCollection object. (Inherited from JsonContext.)

ReadDashStyle

Reads a DashStyle object. (Inherited from JsonContext.)

ReadDate

Reads a DateTime object.

ReadEnum

Reads an enum value. (Inherited from JsonContext.)

ReadFloatArray

Reads a double array. (Inherited from JsonContext.)

ReadFontStyle

Reads a FontStyle object. (Inherited from JsonContext.)

ReadObject

Reads an object. (Inherited from JsonContext.)

ReadPen

Overloaded.   (Inherited from JsonContext.)

ReadPoint

Reads a Point object. (Inherited from JsonContext.)

ReadPoint3D

Reads a Point3D object. (Inherited from JsonContext.)

ReadPointString

Reads a Point string. (Inherited from JsonContext.)

ReadRect

Reads a Rect object. (Inherited from JsonContext.)

ReadSize

Reads a Size object. (Inherited from JsonContext.)

ReadTag

Reads the specified tag for the specified object.

ReadTextAlignment

Reads a TextAlignment object. (Inherited from JsonContext.)

Serialize

Serializes the specified JsonObject to a JSON formatted string. (Inherited from JsonContext.)

WriteBrush

Writes a Brush object. (Inherited from JsonContext.)

WriteBrushColor

Writes the color of the specified brush. (Inherited from JsonContext.)

WriteBrushes

Writes all currently accumulated brushes. (Inherited from JsonContext.)

WriteColor

Writes a Color object. (Inherited from JsonContext.)

WriteColorBlend

Writes a GradientStopCollection object. (Inherited from JsonContext.)

WriteDashStyle

Writes a DashStyle object. (Inherited from JsonContext.)

WriteEnum

Writes an enum value. (Inherited from JsonContext.)

WriteFontStyle

Writes a FontStyle object. (Inherited from JsonContext.)

WriteObject

Writes an object. (Inherited from JsonContext.)

WritePen

Writes a Pen object. (Inherited from JsonContext.)

WritePoint

Writes a Point object. (Inherited from JsonContext.)

WritePoint3D

Writes a Point3D object. (Inherited from JsonContext.)

WritePointString

Writes a Point string. (Inherited from JsonContext.)

WriteRect

Writes a Rect object. (Inherited from JsonContext.)

WriteSize

Writes a Size object. (Inherited from JsonContext.)

WriteTag

Writes the specified tag of the specified object.

WriteTextAlignment

Writes a TextAlignment object. (Inherited from JsonContext.)

 Protected Methods

  Name Description

Base64Decode

Decodes a string from Base64 representation. (Inherited from JsonContext.)

Base64Encode

Encodes a string to Base64 representation. (Inherited from JsonContext.)

ToCamelCase

Converts a string to Pascal case. (Inherited from JsonContext.)

ToPascalCase

Converts a string to Camel case. (Inherited from JsonContext.)

 Public Events

  Name Description

Completed

Raised when the serialization or deserialization has completed successfully.

 See Also

JsonSerializationContext Class
MindFusion.Scheduling Namespace