Sunshine master
Self-hosted game stream host for Moonlight.
nlohmann::adl_serializer< data_t > Struct Reference

JSON serializer specialization for undo-data records. More...

Static Public Member Functions

static void from_json (const json &j, data_t &data)
 Deserialize the undo-data object from JSON.
 
static void to_json (json &j, const data_t &data)
 Serialize the undo-data object to JSON.
 

Detailed Description

JSON serializer specialization for undo-data records.

Member Function Documentation

◆ from_json()

static void nlohmann::adl_serializer< data_t >::from_json ( const json & j,
data_t & data )
inlinestatic

Deserialize the undo-data object from JSON.

Parameters
jJSON value being read from or written to.
dataPayload or state data to serialize, deserialize, or forward.

◆ to_json()

static void nlohmann::adl_serializer< data_t >::to_json ( json & j,
const data_t & data )
inlinestatic

Serialize the undo-data object to JSON.

Parameters
jJSON value being read from or written to.
dataPayload or state data to serialize, deserialize, or forward.

The documentation for this struct was generated from the following file: