OXY API 1.0
OXY API Library Documentation
Loading...
Searching...
No Matches
type_io.hpp File Reference

Type I/O operations for the oxy API. More...

Namespaces

namespace  oxy
 This root namespace contains the common types and operations for the OXY-API library.
namespace  oxy::api
 This namespace contains the high-level definitions and operations for the OXY-API library.

Functions

void oxy::api::tag_invoke (boost::json::value_from_tag, boost::json::value &jv, manifest_t const &item)
 Converts a manifest object to a Boost.JSON value using tag_invoke customization point.
void oxy::api::tag_invoke (boost::json::value_from_tag, boost::json::value &jv, stream_t const &item)
 Converts a stream object to a Boost.JSON value using tag_invoke customization point.
manifest_t oxy::api::tag_invoke (const boost::json::value_to_tag< manifest_t > &, boost::json::value const &jv)
 Converts a Boost.JSON value to a manifest_t object using tag_invoke customization point.
stream_t oxy::api::tag_invoke (const boost::json::value_to_tag< stream_t > &, boost::json::value const &jv)
 Converts a Boost.JSON value to a stream_t object using tag_invoke customization point.

Detailed Description

Type I/O operations for the oxy API.

This header defines functions for converting between in-memory representations of manifests and streams and their JSON representations using Boost.JSON. It provides tag_invoke overloads for serializing and deserializing manifest_t and stream_t objects to and from Boost.JSON values. The functions facilitate the integration of the oxy API types with JSON-based data interchange formats, enabling easy serialization and deserialization of manifests and streams in JSON format.

@license MPL-2.0