IJsonizable

Description

interface Tinman.Core.Formatting.IJsonizable

Base interface for classes that can serialize their state to JSON values.

Public / Methods

Json​Deserialize


public method JsonDeserialize → (1)

value in : IJsonValue

[not-null]
The input JSON value.

Restores the object state from the given JSON value.

Implementations of this method must be able to consume malformed JSON values, without corrupting the object state.

Json​Serialize


public method JsonSerialize → (1)

value in : JsonValue

[not-null]
The output JSON value.

Serializes the object state to an JSON value.