Leosac  0.8.0
Open Source Access Control
Leosac::DoorJSONSerializer Struct Reference

A serializer that handle Auth::Door object. More...

#include <DoorSerializer.hpp>

Static Public Member Functions

static json serialize (const Auth::IDoor &door, const SecurityContext &sc)
 
static void unserialize (Auth::IDoor &out, const json &in, const SecurityContext &sc)
 

Detailed Description

A serializer that handle Auth::Door object.

Definition at line 33 of file DoorSerializer.hpp.

Member Function Documentation

◆ serialize()

json DoorJSONSerializer::serialize ( const Auth::IDoor door,
const SecurityContext sc 
)
static

Definition at line 31 of file DoorSerializer.cpp.

◆ unserialize()

void DoorJSONSerializer::unserialize ( Auth::IDoor out,
const json in,
const SecurityContext sc 
)
static

Definition at line 49 of file DoorSerializer.cpp.


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