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

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

#include <UserGroupMembershipSerializer.hpp>

Static Public Member Functions

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

Detailed Description

A serializer that handle Auth::UserGroupMembership object.

Definition at line 33 of file UserGroupMembershipSerializer.hpp.

Member Function Documentation

◆ serialize()

json UserGroupMembershipJSONSerializer::serialize ( const Auth::UserGroupMembership ugm,
const SecurityContext sc 
)
static

Definition at line 28 of file UserGroupMembershipSerializer.cpp.

◆ unserialize()

void UserGroupMembershipJSONSerializer::unserialize ( Auth::UserGroupMembership out,
const json in,
const SecurityContext sc 
)
static

Definition at line 46 of file UserGroupMembershipSerializer.cpp.


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