Table of Contents

Class SchemaJsonConverter

Namespace
PowerSync.Common.DB.Schema
Assembly
PowerSync.Common.dll

Serializes a Schema into the JSON format expected by the powersync_replace_schema SQLite function.

public class SchemaJsonConverter : JsonConverter<Schema>
Inheritance
JsonConverter
JsonConverter<Schema>
SchemaJsonConverter
Inherited Members
JsonConverter.CanWrite

Properties

CanRead

Gets a value indicating whether this Newtonsoft.Json.JsonConverter can read JSON.

Methods

ReadJson(JsonReader, Type, Schema?, bool, JsonSerializer)

Reads the JSON representation of the object.

WriteJson(JsonWriter, Schema?, JsonSerializer)

Writes the JSON representation of the object.