Leosac  0.8.0
Open Source Access Control
Leosac::Audit::Serializer::JSONService Class Reference

This service manages runtime registered serializer that target AuditEntry object. More...

#include <JSONService.hpp>

+ Inheritance diagram for Leosac::Audit::Serializer::JSONService:
+ Collaboration diagram for Leosac::Audit::Serializer::JSONService:

Additional Inherited Members

- Public Types inherited from Leosac::ExtensibleSerializer< json, Audit::IAuditEntry, const SecurityContext & >
using SerializationCallable = std::function< json(const Audit::IAuditEntry &, AdditionalArgs &&...)>
 Callable type for serialization. More...
 
- Public Member Functions inherited from Leosac::ExtensibleSerializer< json, Audit::IAuditEntry, const SecurityContext & >
json serialize (const Audit::IAuditEntry &input, AdditionalArgs &&... args) const
 
void register_serializer (Callable &&callable)
 Register a serializer for T. More...
 
void unregister_serializer ()
 

Detailed Description

This service manages runtime registered serializer that target AuditEntry object.

Note
This service is for serializing extended audit entry (those provided by modules) rather than the ones present in leosac's core.

Definition at line 42 of file JSONService.hpp.


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