Contains methods that can help you serialize and deserialize to and from JSON.
The following tables list the members exposed by the JsonContext type.
Name | Description | |
---|---|---|
Initializes a new instance of the JsonContext class. |
Name | Description | |
---|---|---|
A list of all brushes. |
||
Specifies whether resource accumulation is disabled. |
Name | Description | |
---|---|---|
Deserializes the specified JSON formatted string to a JsonObject. |
||
Overloaded. |
||
Reads a Brush object with the specified color. |
||
Reads all brushes. |
||
Overloaded. |
||
Reads a GradientStopCollection object. |
||
Reads a DashStyle object. |
||
Reads an enum value. |
||
Reads a double array. |
||
Reads a FontStyle object. |
||
Reads an object. |
||
Overloaded. |
||
Reads a Point object. |
||
Reads a Point3D object. |
||
Reads a Point string. |
||
Reads a Rect object. |
||
Reads a Size object. |
||
Reads a TextAlignment object. |
||
Serializes the specified JsonObject to a JSON formatted string. |
||
Writes a Brush object. |
||
Writes the color of the specified brush. |
||
Writes all currently accumulated brushes. |
||
Writes a Color object. |
||
Writes a GradientStopCollection object. |
||
Writes a DashStyle object. |
||
Writes an enum value. |
||
Writes a FontStyle object. |
||
Writes an object. |
||
Writes a Pen object. |
||
Writes a Point object. |
||
Writes a Point3D object. |
||
Writes a Point string. |
||
Writes a Rect object. |
||
Writes a Size object. |
||
Writes a TextAlignment object. |
Name | Description | |
---|---|---|
Decodes a string from Base64 representation. |
||
Encodes a string to Base64 representation. |
||
Converts a string to Pascal case. |
||
Converts a string to Camel case. |