|
A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
|
#include <string>#include <string_view>#include <absl/status/statusor.h>#include <nlohmann/json_fwd.hpp>#include "a11/data/types.h"Go to the source code of this file.
Namespaces | |
| namespace | a11 |
| namespace | a11::data |
Functions | |
| absl::StatusOr< Json > | a11::data::ChunkMetadataToJsonValue (const ChunkMetadata &value) |
| Encode a ChunkMetadata using the native wire JSON representation. | |
| absl::StatusOr< ChunkMetadata > | a11::data::ChunkMetadataFromJsonValue (const nlohmann::json &value) |
| Decode and validate a ChunkMetadata from native wire JSON. | |
| absl::StatusOr< Json > | a11::data::ChunkToJsonValue (const Chunk &value) |
| Encode a Chunk using the native wire JSON representation. | |
| absl::StatusOr< Chunk > | a11::data::ChunkFromJsonValue (const nlohmann::json &value) |
| Decode and validate a Chunk from native wire JSON. | |
| absl::StatusOr< Json > | a11::data::StorageIdentityToJsonValue (const StorageIdentity &value) |
| Encode storage identity and optional access fields at the wire boundary. | |
| absl::StatusOr< StorageIdentity > | a11::data::StorageIdentityFromJsonValue (const nlohmann::json &value) |
| Decode a typed storage identity without applying connection policy. | |
| absl::StatusOr< Json > | a11::data::NodeRefToJsonValue (const NodeRef &value) |
| Encode a NodeRef using the native wire JSON representation. | |
| absl::StatusOr< NodeRef > | a11::data::NodeRefFromJsonValue (const nlohmann::json &value) |
| Decode and validate a NodeRef from native wire JSON. | |
| absl::StatusOr< Json > | a11::data::NodeFragmentToJsonValue (const NodeFragment &value) |
| Encode a NodeFragment using the native wire JSON representation. | |
| absl::StatusOr< NodeFragment > | a11::data::NodeFragmentFromJsonValue (const nlohmann::json &value) |
| Decode and validate a NodeFragment from native wire JSON. | |
| absl::StatusOr< Json > | a11::data::PortToJsonValue (const Port &value) |
| Encode a Port using the native wire JSON representation. | |
| absl::StatusOr< Port > | a11::data::PortFromJsonValue (const nlohmann::json &value) |
| Decode and validate a Port from native wire JSON. | |
| absl::StatusOr< Json > | a11::data::ActionMessageToJsonValue (const ActionMessage &value) |
| Encode a ActionMessage using the native wire JSON representation. | |
| absl::StatusOr< ActionMessage > | a11::data::ActionMessageFromJsonValue (const nlohmann::json &value) |
| Decode and validate a ActionMessage from native wire JSON. | |
| absl::StatusOr< Json > | a11::data::WireMessageToJsonValue (const WireMessage &message) |
| absl::StatusOr< std::string > | a11::data::WireMessageToJson (const WireMessage &message) |
| absl::StatusOr< WireMessage > | a11::data::WireMessageFromJsonValue (const nlohmann::json &value) |
| absl::StatusOr< WireMessage > | a11::data::WireMessageFromJson (std::string_view encoded) |