alexa
Syncfusion
menu Syncfusion

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class NodeJsonConverter

    Serializes a Node to the EJ2 Diagram NodeModel JSON shape.

    Inheritance
    object
    JsonConverter
    JsonConverter<Node>
    NodeJsonConverter
    Inherited Members
    JsonConverter<Node>.CanConvert(Type)
    JsonConverter<Node>.HandleNull
    JsonConverter<Node>.ReadAsPropertyName(ref Utf8JsonReader, Type, JsonSerializerOptions)
    JsonConverter<Node>.Type
    JsonConverter<Node>.WriteAsPropertyName(Utf8JsonWriter, Node, JsonSerializerOptions)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Maui.Diagram
    Assembly: Syncfusion.Maui.Diagram.dll
    Syntax
    public sealed class NodeJsonConverter : JsonConverter<Node>
    Remarks

    Always emits the node's full current state (not a per-field diff) — DiagramManager coalesces bursts of property changes and re-sends the whole object once per flush, so JavaScript can simply Object.assign this onto the existing node and re-bind.

    Constructors

    NodeJsonConverter()

    Declaration
    public NodeJsonConverter()

    Methods

    Read(ref Utf8JsonReader, Type, JsonSerializerOptions)

    Declaration
    public override Node Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
    Parameters
    Type Name Description
    Utf8JsonReader reader
    Type typeToConvert
    JsonSerializerOptions options
    Returns
    Type
    Node
    Overrides
    JsonConverter<Node>.Read(ref Utf8JsonReader, Type, JsonSerializerOptions)

    Write(Utf8JsonWriter, Node, JsonSerializerOptions)

    Declaration
    public override void Write(Utf8JsonWriter writer, Node value, JsonSerializerOptions options)
    Parameters
    Type Name Description
    Utf8JsonWriter writer
    Node value
    JsonSerializerOptions options
    Overrides
    JsonConverter<Node>.Write(Utf8JsonWriter, Node, JsonSerializerOptions)
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved