conduit 0.6.0
Modern C++23 header-only event-dispatching / event-transport library
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
serialization.hpp File Reference

Thin EventRegistry wrapper around parcel::ParcelRegistry, plus envelope encode/decode helpers for JSON and CBOR. More...

#include <conduit/envelope.hpp>
#include <conduit/event.hpp>
#include <conduit/exception.hpp>
#include <cstdint>
#include <memory>
#include <mutex>
#include <shared_mutex>
#include <span>
#include <vector>
#include <parcel/parcel.h>
Include dependency graph for serialization.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  conduit::EventRegistry
 Registers event cells for wire decoding. More...
 

Namespaces

namespace  conduit
 
namespace  conduit::serialization
 

Functions

parcel::json_t conduit::encode_json (const EventEnvelope &env)
 
std::vector< char > conduit::encode_cbor (const EventEnvelope &env)
 

Detailed Description

Thin EventRegistry wrapper around parcel::ParcelRegistry, plus envelope encode/decode helpers for JSON and CBOR.