Table of Contents

Class JsonFileStorage

Namespace: XboxAuthNet.Game.Accounts.JsonStorage
Assembly: XboxAuthNet.Game.dll

public class JsonFileStorage : IJsonStorage

Inheritance

objectJsonFileStorage

Implements

IJsonStorage

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

JsonFileStorage(string)

public JsonFileStorage(string filePath)

Parameters

filePath string

Methods

ReadAsJsonNode()

public JsonNode? ReadAsJsonNode()

Returns

JsonNode?

Write(JsonNode, JsonSerializerOptions?)

public void Write(JsonNode node, JsonSerializerOptions? serializerOptions)

Parameters

node JsonNode

serializerOptions JsonSerializerOptions?