|
Window Framework for UI Toolkit v2.0.x
|
Framework-owned JSON data node. No code execution, reflection or type activation. More...

Public Member Functions | |
| JsonNode | DeepClone () |
| Creates an independently mutable data tree, retaining scalar types and order. | |
| override string | ToString () |
| Serializes compact JSON without changing this tree or writing files. | |
| string | ToString (JsonFormatting formatting) |
| Serializes this data tree using the selected whitespace policy. | |
Static Public Member Functions | |
| static | operator double (JsonNode node) |
| Reads either numeric kind using invariant double parsing. | |
| static | operator float (JsonNode node) |
| Converts a numeric scalar through double to float. | |
| static | operator int (JsonNode node) |
| Reads a lexical integer within Int32 range; float/exponent kinds are not accepted. | |
| static implicit | operator JsonNode (bool value) |
| Creates a boolean scalar without parsing text. | |
| static implicit | operator JsonNode (double value) |
| Creates a finite floating scalar using invariant round-trip spelling. | |
| static implicit | operator JsonNode (float value) |
| Creates a finite floating scalar using invariant round-trip spelling. | |
| static implicit | operator JsonNode (int value) |
| Creates an invariant lexical integer scalar. | |
| static implicit | operator JsonNode (string value) |
| Creates a string scalar; null produces an explicit JSON-null node. | |
| static | operator string (JsonNode node) |
| Reads a string scalar, or null for absent/JSON-null input. | |
| static string | Quote (string value) |
| Encodes a JSON string, including control characters and surrogate code units. | |
Properties | |
| virtual JsonNode | this[string key] [get, set] |
| Named object access; the base implementation throws when a subtype is not an object. | |
| JsonKind | Type [get] |
| Gets this node's exact JSON kind; lexical integer and float kinds are distinct. | |
Framework-owned JSON data node. No code execution, reflection or type activation.
Use Parse on JsonObject for bounded input. DeepClone separates manifest ownership. Arrays and opaque extension values preserve types and numeric spelling during round trips.
|
abstract |
Creates an independently mutable data tree, retaining scalar types and order.
|
inlineexplicitstatic |
Reads either numeric kind using invariant double parsing.
| node | Numeric node; missing/other kinds throw InvalidCastException. |
|
inlineexplicitstatic |
Converts a numeric scalar through double to float.
| node | Numeric node. |
|
inlineexplicitstatic |
Reads a lexical integer within Int32 range; float/exponent kinds are not accepted.
| node | Integer node. |
|
inlinestatic |
Creates a boolean scalar without parsing text.
| value | Boolean value. |
|
inlinestatic |
Creates a finite floating scalar using invariant round-trip spelling.
| value | Finite double; nonfinite values throw ArgumentException. |
|
inlinestatic |
Creates a finite floating scalar using invariant round-trip spelling.
| value | Finite float; nonfinite values throw ArgumentException. |
|
inlinestatic |
Creates an invariant lexical integer scalar.
| value | Integer value. |
|
inlinestatic |
Creates a string scalar; null produces an explicit JSON-null node.
| value | Literal text, not parsed JSON. |
|
inlineexplicitstatic |
Reads a string scalar, or null for absent/JSON-null input.
| node | String/null node; other kinds throw InvalidCastException. |
|
inlinestatic |
Encodes a JSON string, including control characters and surrogate code units.
| value | Literal text; null serializes as JSON null. |

|
inline |
Serializes compact JSON without changing this tree or writing files.
|
inline |
Serializes this data tree using the selected whitespace policy.
| formatting | None for compact JSON or Indented for two-space formatting. |
Programmatic trees use output-depth limits distinct from parser input limits.

|
getset |
Named object access; the base implementation throws when a subtype is not an object.
| key | Case-sensitive property name. |
|
getabstract |
Gets this node's exact JSON kind; lexical integer and float kinds are distinct.