Search
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.)

inplaceImages

Specifies whether images are encoded in place. (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

Overloaded.   (Inherited from JsonContext.)

ReadCustomBrushes

Reads a CustomBrushes object.

ReadDate

Reads a DateTime object.

ReadEnum

Reads an enum value. (Inherited from JsonContext.)

ReadFloatArray

Reads a float array. (Inherited from JsonContext.)

ReadFont

Overloaded.   (Inherited from JsonContext.)

ReadImage

Reads an Image object. (Inherited from JsonContext.)

ReadImages

Reads all images. (Inherited from JsonContext.)

ReadObject

Reads an object. (Inherited from JsonContext.)

ReadPen

Overloaded.   (Inherited from JsonContext.)

ReadPoint

Reads a PointF object. (Inherited from JsonContext.)

ReadPointString

Reads a Point string. (Inherited from JsonContext.)

ReadRectangle

Reads a RectangleF object. (Inherited from JsonContext.)

ReadSize

Reads a SizeF object. (Inherited from JsonContext.)

ReadStringFormat

Reads a StringFormat object. (Inherited from JsonContext.)

ReadStyle

Reads a Style object.

ReadTag

Reads the specified tag for the specified object.

Serialize

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

WriteBrush

Writes a MindFusion.Drawing.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

JsonContext.WriteColor override.

WriteColorBlend

Overloaded.   (Inherited from JsonContext.)

WriteCustomBrushes

Writes the specified CustomBrushes object.

WriteEnum

Writes an enum value. (Inherited from JsonContext.)

WriteFont

Writes a Font object. (Inherited from JsonContext.)

WriteImage

Writes an Image object. (Inherited from JsonContext.)

WriteImageAsync

Writes an Image object. (Inherited from JsonContext.)

WriteImages

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

WriteImagesAsync

Writes all currently accumulated images asynchronously. (Inherited from JsonContext.)

WriteObject

Writes an object. (Inherited from JsonContext.)

WritePen

Writes a MindFusion.Drawing.Pen object. (Inherited from JsonContext.)

WritePoint

Writes a PointF object. (Inherited from JsonContext.)

WritePointString

Writes a Point string. (Inherited from JsonContext.)

WriteRectangle

Writes a RectangleF object. (Inherited from JsonContext.)

WriteSize

Writes a SizeF object. (Inherited from JsonContext.)

WriteStringFormat

Writes a StringFormat object. (Inherited from JsonContext.)

WriteStyle

Writes the specified Style object.

WriteTag

Writes the specified tag of the specified object.

 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