Leosac  0.8.0
Open Source Access Control
nlohmann::adl_serializer< Leosac::UUID > Struct Reference

#include <JSONUtils.hpp>

Static Public Member Functions

static void to_json (json &j, const Leosac::UUID &uuid)
 
static void from_json (const json &j, Leosac::UUID &uuid)
 For unserialization we expect either a string representing the UUID, or a number. More...
 

Detailed Description

Definition at line 42 of file JSONUtils.hpp.

Member Function Documentation

◆ from_json()

static void nlohmann::adl_serializer< Leosac::UUID >::from_json ( const json j,
Leosac::UUID uuid 
)
inlinestatic

For unserialization we expect either a string representing the UUID, or a number.

Definition at line 60 of file JSONUtils.hpp.

◆ to_json()

static void nlohmann::adl_serializer< Leosac::UUID >::to_json ( json j,
const Leosac::UUID uuid 
)
inlinestatic

Definition at line 44 of file JSONUtils.hpp.


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