userver: userver/formats/serialize/boost_uuid.hpp File Reference
Loading...
Searching...
No Matches
boost_uuid.hpp File Reference

Detailed Description

boost::uuids::uuid serializer to any format

Definition in file boost_uuid.hpp.

Go to the source code of this file.

#include <boost/uuid/uuid.hpp>
#include <string>
#include <userver/formats/serialize/to.hpp>

Namespaces

namespace  formats
 Value formats representation, parsing and serialization.
 
namespace  formats::serialize
 Common serializers.
 

Functions

template<typename Value >
Value formats::serialize::Serialize (const boost::uuids::uuid &value, To< Value >)
 Outputs UUID in format: 12345678-1234-1234-1234-123412345678.
 
template<typename StringBuilder >
void formats::serialize::WriteToStream (const boost::uuids::uuid &value, StringBuilder &sw)