#include <pulp/runtime/result.hpp>
#include <pulp/timeline/command.hpp>
#include <pulp/timeline/model.hpp>
#include <pulp/timeline/schema_registry.hpp>
#include <pulp/timeline/schema_release.hpp>
#include <cstddef>
#include <cstdint>
#include <string>
#include <string_view>
Go to the source code of this file.
|
| runtime::Result< SerializedSnapshot, PersistenceError > | pulp::timeline::serialize_project (const Project &project, const SchemaRegistry ®istry, const SerializeOptions &options={}) |
| | Serializes a model-valid project as canonical UTF-8 JSON.
|
| runtime::Result< SerializedSnapshot, PersistenceError > | pulp::timeline::serialize_project_for_release (const Project &project, const SchemaRegistry ®istry, const SchemaReleaseMap &release, const SerializeOptions &options={}) |
| | Serializes a project using the schema versions pinned by a release map.
|
| runtime::Result< ProjectSnapshotSummary, PersistenceError > | pulp::timeline::peek_project_summary (std::string_view json, const SchemaRegistry ®istry, const DecodeLimits &limits={}) |
| | Scans project metadata and structural counts without constructing Project.
|
| runtime::Result< Project, PersistenceError > | pulp::timeline::deserialize_project (std::string_view json, const SchemaRegistry ®istry, const DecodeLimits &limits={}) |
| | Decodes canonical Timeline JSON into a validated Project.
|
| runtime::Result< std::vector< Command >, PersistenceError > | pulp::timeline::deserialize_commands (std::string_view json, const SchemaRegistry ®istry, const DecodeLimits &limits={}) |
| | Decodes a JSON command array through the supplied schema registry.
|