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

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

#include <ZoneSerializer.hpp>

Static Public Member Functions

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

Detailed Description

A serializer that handle Auth::Zone object.

Definition at line 33 of file ZoneSerializer.hpp.

Member Function Documentation

◆ serialize()

json ZoneJSONSerializer::serialize ( const Auth::IZone Zone,
const SecurityContext sc 
)
static

Definition at line 30 of file ZoneSerializer.cpp.

◆ unserialize()

void ZoneJSONSerializer::unserialize ( Auth::IZone out,
const json in,
const SecurityContext sc 
)
static

Definition at line 58 of file ZoneSerializer.cpp.


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