alexa
menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class ShapeAnnotationJsonConverter

    Serializes a ShapeAnnotation to the EJ2 Diagram ShapeAnnotationModel JSON shape.

    Inheritance
    System.Object
    ShapeAnnotationJsonConverter
    Namespace: Syncfusion.Maui.Diagram
    Assembly: Syncfusion.Maui.Diagram.dll
    Syntax
    public sealed class ShapeAnnotationJsonConverter : JsonConverter<ShapeAnnotation>

    Constructors

    ShapeAnnotationJsonConverter()

    Declaration
    public ShapeAnnotationJsonConverter()

    Methods

    Read(ref Utf8JsonReader, Type, JsonSerializerOptions)

    Declaration
    public override ShapeAnnotation Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
    Parameters
    Type Name Description
    System.Text.Json.Utf8JsonReader reader
    System.Type typeToConvert
    System.Text.Json.JsonSerializerOptions options
    Returns
    Type
    ShapeAnnotation

    Write(Utf8JsonWriter, ShapeAnnotation, JsonSerializerOptions)

    Declaration
    public override void Write(Utf8JsonWriter writer, ShapeAnnotation value, JsonSerializerOptions options)
    Parameters
    Type Name Description
    System.Text.Json.Utf8JsonWriter writer
    ShapeAnnotation value
    System.Text.Json.JsonSerializerOptions options
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved