Search
JsonContext Members
Constructors Fields Methods
 


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

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

 Public Constructors

  Name Description

JsonContext

Initializes a new instance of the JsonContext class.

 Protected Fields

  Name Description

brushes

A list of all brushes.

inplaceImages

Specifies whether images are encoded in place.

inplaceResources

Specifies whether resource accumulation is disabled.

 Public Methods

  Name Description

Parse

Deserializes the specified JSON formatted string to a JsonObject.

ReadBrush

Overloaded.  

ReadBrushColor

Reads a Brush object with the specified color.

ReadBrushes

Reads all brushes.

ReadColor

Overloaded.  

ReadColorBlend

Reads a ColorBlend object.

ReadEnum

Reads an enum value.

ReadFont

Overloaded.  

ReadImage

Reads an Image object.

ReadImages

Reads all images.

ReadObject

Reads an object.

ReadPen

Overloaded.  

ReadPointF

Reads a PointF object.

ReadPointString

Reads a Point string.

ReadRectangleF

Reads a RectangleF object.

ReadSizeF

Reads a SizeF object.

ReadStringFormat

Reads a StringFormat object.

Serialize

Serializes the specified JsonObject to a JSON formatted string.

WriteBrush

Writes a MindFusion.Drawing.Brush object.

WriteBrushColor

Writes the color of the specified brush.

WriteBrushes

Writes all currently accumulated brushes.

WriteColor

Writes a Color object.

WriteColorBlend

Writes a ColorBlend object.

WriteEnum

Writes an enum value.

WriteFont

Writes a Font object.

WriteImage

Writes an Image object.

WriteImages

Writes all currently accumulated images.

WriteObject

Writes an object.

WritePen

Writes a MindFusion.Drawing.Pen object.

WritePointF

Writes a PointF object.

WritePointString

Writes a Point string.

WriteRectangleF

Writes a RectangleF object.

WriteSizeF

Writes a SizeF object.

WriteStringFormat

Writes a StringFormat object.

 Protected Methods

  Name Description

Base64Decode

Decodes a string from Base64 representation.

Base64Encode

Encodes a string to Base64 representation.

ToCamelCase

Converts a string to Pascal case.

ToPascalCase

Converts a string to Camel case.

 See Also