Table of Contents

Class JsonStateStringParser

Namespace
Backdash.Synchronizing.State
Assembly
Backdash.dll

Try to get the json string representation of the state.

public sealed class JsonStateStringParser : IStateStringParser
Inheritance
JsonStateStringParser
Implements
Inherited Members

Constructors

JsonStateStringParser(JsonSerializerOptions?, IStateStringParser?)

Try to get the json string representation of the state.

public JsonStateStringParser(JsonSerializerOptions? options = null, IStateStringParser? stateStringFallback = null)

Parameters

options JsonSerializerOptions
stateStringFallback IStateStringParser

Methods

GetStateString(in Frame, ref readonly BinaryBufferReader, object?)

public string GetStateString(in Frame frame, ref readonly BinaryBufferReader reader, object? currentState)

Parameters

frame Frame
reader BinaryBufferReader
currentState object

Returns

string