Contains methods that can help you serialize and deserialize WpfDiagram items to and from JSON.
The following tables list the members exposed by the JsonPersistContext type.
Name | Description | |
---|---|---|
![]() |
Overloaded. |
Name | Description | |
---|---|---|
![]() ![]() |
An object that converts custom image sources to or from JSON. |
|
![]() ![]() |
Specifies the latest file format revision number. |
Name | Description | |
---|---|---|
![]() |
A list of all brushes. (Inherited from JsonContext.) |
|
![]() |
Specifies whether images are encoded in place. |
|
![]() |
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. |
|
![]() |
Reads an AnchorPoint 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.) |
|
![]() |
Reads a GradientStopCollection object. (Inherited from JsonContext.) |
|
![]() |
Reads a DashStyle object. (Inherited from JsonContext.) |
|
![]() |
Reads a NodeEffect object. |
|
![]() |
Reads an enum value. (Inherited from JsonContext.) |
|
![]() |
Reads a double array. (Inherited from JsonContext.) |
|
![]() |
Overloaded. |
|
![]() |
Reads a FontStyle object. (Inherited from JsonContext.) |
|
![]() |
Reads an Image object. |
|
![]() |
Reads all images. |
|
![]() |
Reads an item reference. |
|
![]() |
Reads an object. (Inherited from JsonContext.) |
|
![]() |
Overloaded. (Inherited from JsonContext.) |
|
![]() |
Reads a Point object. (Inherited from JsonContext.) |
|
![]() |
Reads a Point3D object. (Inherited from JsonContext.) |
|
![]() |
Reads a Point string. (Inherited from JsonContext.) |
|
![]() |
Reads a Rect object. (Inherited from JsonContext.) |
|
![]() |
Reads a Shape object. |
|
![]() |
Reads a Size object. (Inherited from JsonContext.) |
|
![]() |
Reads a StringFormat object. |
|
![]() |
Reads a Style object. |
|
![]() |
Reads a SVG objec. |
|
![]() |
Reads the specified tag for the specified object. |
|
![]() |
Reads a TextAlignment object. (Inherited from JsonContext.) |
|
![]() |
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 an AnchorPoint object. |
|
![]() |
Writes a 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.) |
|
![]() |
Writes a GradientStopCollection object. (Inherited from JsonContext.) |
|
![]() |
Writes a DashStyle object. (Inherited from JsonContext.) |
|
![]() |
Writes a NodeEffect object. |
|
![]() |
Writes an enum value. (Inherited from JsonContext.) |
|
![]() |
Writes a Font object. |
|
![]() |
Writes a FontStyle object. (Inherited from JsonContext.) |
|
![]() |
Writes an Image object. |
|
![]() |
Writes all currently accumulated images. |
|
![]() |
Writes a reference to the specified item. |
|
![]() |
Writes an item type. |
|
![]() |
Writes an object. (Inherited from JsonContext.) |
|
![]() |
Writes a Pen object. (Inherited from JsonContext.) |
|
![]() |
Writes a Point object. (Inherited from JsonContext.) |
|
![]() |
Writes a Point3D object. (Inherited from JsonContext.) |
|
![]() |
Writes a Point string. (Inherited from JsonContext.) |
|
![]() |
Writes a Rect object. (Inherited from JsonContext.) |
|
![]() |
Writes a Shape object. |
|
![]() |
Writes a Size object. (Inherited from JsonContext.) |
|
![]() |
Writes a StringFormat object. |
|
![]() |
Writes a Style object. |
|
![]() |
Writes an SvgContent object. |
|
![]() |
Writes the specified tag of the specified object. |
|
![]() |
Writes a TextAlignment object. (Inherited from JsonContext.) |
|
![]() |
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.) |