Leosac  0.8.0
Open Source Access Control
Leosac::Hardware::DeviceSerializer Struct Reference

#include <DeviceSerializer.hpp>

Static Public Member Functions

static json serialize (const Hardware::Device &in, const SecurityContext &sc)
 
static void unserialize (Hardware::Device &out, const json &in, const SecurityContext &sc)
 

Detailed Description

Definition at line 32 of file DeviceSerializer.hpp.

Member Function Documentation

◆ serialize()

json Leosac::Hardware::DeviceSerializer::serialize ( const Hardware::Device in,
const SecurityContext sc 
)
static

Definition at line 28 of file DeviceSerializer.cpp.

◆ unserialize()

void Leosac::Hardware::DeviceSerializer::unserialize ( Hardware::Device out,
const json in,
const SecurityContext sc 
)
static

Definition at line 40 of file DeviceSerializer.cpp.


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