JsonExportable<T> Concept

A class having a member function named ToJson that returns a UniquePtr to a JsonValue is JsonExportable .

A user-defined class defined with a json attribute is a JsonExportable class.

Definition

Line 11 of System.Json/JsonExport.cm

Type Parameters

T

Constraints

UniquePtr<JsonValue> T.ToJson()