|
parcel 0.2.2
Wrappable, wire-transferable C++23 value system with JSON serialization
|
Closed-over schema for a single root kind plus everything it references. More...
#include <registry.h>
Public Member Functions | |
| json_t | to_json () const |
Serialize to a JSON object with root and referenced blocks. | |
Public Attributes | |
| cell_type_descriptor_t | root |
| Descriptor for the requested root kind. | |
| std::map< std::string, cell_type_descriptor_t, std::less<> > | referenced |
| Every kind transitively referenced by root, keyed by kind id. | |
Closed-over schema for a single root kind plus everything it references.
Returned by ParcelRegistry::define. Useful for emitting a self-contained schema document for a particular cell type.
|
inline |
Serialize to a JSON object with root and referenced blocks.