IJsonizer

Description

interface Tinman.Core.Formatting.IJsonizer<T>

Extended by

ITypeSerializerEx

Base interface for classes that format atomic types as JSON objects.

Public / Methods

Json​Read


public method JsonRead → (2)

value in : IJsonValue

The JSON object or null.

defaultValue opt : T = default(T)

The default value to use if value in is invalid.

returns → T

The read value.

Reads a value from the given JSON object.

Json​Write


public method JsonWrite → (1)

value in : T

The value to write.

returns → JsonValue

The written JSON object or null.

Writes the given value to a JSON object.