Skip to content

localizationsharedjson LStringJsonConverter

Denis Akopyan edited this page Jul 10, 2025 · 1 revision

LStringJsonConverter Public class

Description

JSON converter for LString instances

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph Localization.Shared.JSON
  Localization.Shared.JSON.LStringJsonConverter[[LStringJsonConverter]]
  end
  subgraph System.Text.Json.Serialization
System.Text.Json.Serialization.JsonConverter_1[[JsonConverter]]
  end
System.Text.Json.Serialization.JsonConverter_1 --> Localization.Shared.JSON.LStringJsonConverter
Loading

Members

Methods

Public methods

Returns Name
LString Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
void Write(Utf8JsonWriter writer, LString value, JsonSerializerOptions options)

Details

Summary

JSON converter for LString instances

Inheritance

Constructors

LStringJsonConverter

public LStringJsonConverter()

Methods

Read

public override LString Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Arguments
Type Name Description
ref Utf8JsonReader reader
Type typeToConvert
JsonSerializerOptions options

Write

public override void Write(Utf8JsonWriter writer, LString value, JsonSerializerOptions options)
Arguments
Type Name Description
Utf8JsonWriter writer
LString value
JsonSerializerOptions options

Generated with ModularDoc

Clone this wiki locally