Contains methods that can help you serialize and deserialize MindFusion.Diagramming items to and from JSON.
The following tables list the members exposed by the JsonPersistContext type.
Name | Description | |
---|---|---|
Overloaded. |
Name | Description | |
---|---|---|
Specifies the latest file format revision number. |
Name | Description | |
---|---|---|
A list of all brushes. (Inherited from JsonContext.) |
||
Specifies whether images are encoded in place. (Inherited from JsonContext.) |
||
Specifies whether resource accumulation is disabled. (Inherited from JsonContext.) |
Name | Description | |
---|---|---|
Gets the underlying diagram object. |
||
Gets the format revision number for the file being currently serialized. |
Name | Description | |
---|---|---|
Reads a diagram item from the specified JsonObject. |
||
Deserializes the specified JSON formatted string to a JsonObject. (Inherited from JsonContext.) |
||
Reads an AnchorPattern object. |
||
Overloaded. (Inherited from JsonContext.) |
||
Reads a Brush object with the specified color. (Inherited from JsonContext.) |
||
Reads all brushes. (Inherited from JsonContext.) |
||
Overloaded. (Inherited from JsonContext.) |
||
Overloaded. (Inherited from JsonContext.) |
||
Reads the properties of a CompositeNode, which are marked with the AutoJson attribute. |
||
Reads a NodeEffect object. |
||
Reads an enum value. (Inherited from JsonContext.) |
||
Reads a float array. (Inherited from JsonContext.) |
||
Reads a Font object. |
||
Reads an Image object. (Inherited from JsonContext.) |
||
Reads all images. (Inherited from JsonContext.) |
||
Reads an item reference. |
||
Reads an object. (Inherited from JsonContext.) |
||
Overloaded. (Inherited from JsonContext.) |
||
Reads a Point object. (Inherited from JsonContext.) |
||
Reads a Point string. (Inherited from JsonContext.) |
||
Reads a Rect object. (Inherited from JsonContext.) |
||
Reads a Shape object. |
||
Reads a SizeF object. (Inherited from JsonContext.) |
||
Reads a StringFormat object. (Inherited from JsonContext.) |
||
Reads a Style object. |
||
Reads a SVG objec. |
||
Reads the specified tag for the specified object. |
||
Reads a Theme object. |
||
Reads a Thickness object. |
||
Saves the specified diagram item to a JsonObject. |
||
Serializes the specified JsonObject to a JSON formatted string. (Inherited from JsonContext.) |
||
Writes an AnchorPattern object. |
||
Writes a MindFusion.Drawing.Brush object. (Inherited from JsonContext.) |
||
Writes the color of the specified brush. (Inherited from JsonContext.) |
||
Writes all currently accumulated brushes. (Inherited from JsonContext.) |
||
Writes a Color object. (Inherited from JsonContext.) |
||
Overloaded. (Inherited from JsonContext.) |
||
Writes the properties of a CompositeNode, which are marked with the AutoJson attribute. |
||
Writes a NodeEffect object. |
||
Writes an enum value. (Inherited from JsonContext.) |
||
Writes a Font object. |
||
Writes a HandlesVisualStyle object. |
||
Writes an Image object. (Inherited from JsonContext.) |
||
Writes an Image object. (Inherited from JsonContext.) |
||
Writes all currently accumulated images. (Inherited from JsonContext.) |
||
Writes all currently accumulated images asynchronously. (Inherited from JsonContext.) |
||
Writes a reference to the specified item. |
||
Writes an item type. |
||
Writes an object. (Inherited from JsonContext.) |
||
Writes a MindFusion.Drawing.Pen object. (Inherited from JsonContext.) |
||
Writes a Point object. (Inherited from JsonContext.) |
||
Writes a Point string. (Inherited from JsonContext.) |
||
Writes a Rect object. (Inherited from JsonContext.) |
||
Writes a Shape object. |
||
Writes a SizeF object. (Inherited from JsonContext.) |
||
Writes a StringFormat object. (Inherited from JsonContext.) |
||
Writes a Style object. |
||
Writes an SvgContent object. |
||
Writes the specified tag of the specified object. |
||
Writes a Theme object. |
||
Writes a Thickness object. |
Name | Description | |
---|---|---|
Decodes a string from Base64 representation. (Inherited from JsonContext.) |
||
Encodes a string to Base64 representation. (Inherited from JsonContext.) |
||
Converts a string to Pascal case. (Inherited from JsonContext.) |
||
Converts a string to Camel case. (Inherited from JsonContext.) |