DAW JSON Link
Namespaces | Functions
daw_json_iostream.h File Reference
#include "impl/version.h"
#include "daw_json_link.h"
#include <daw/daw_traits.h>
#include <iostream>
#include <type_traits>

Go to the source code of this file.

Namespaces

 daw
 
 daw::json
 Customization point traits.
 
 daw::json::anonymous_namespace{daw_json_iostream.h}
 

Functions

template<typename Container DAW_JSON_ENABLEIF>
 DAW_JSON_REQUIRES (daw::json::json_details::is_container_opted_into_json_iostreams_v< Container >) std
 An opt in ostream interface for containers of types that have JSON mappings. More...
 
template<typename T DAW_JSON_ENABLEIF>
std::ostream & operator<< (std::ostream &os, T const &value)
 An opt in ostream interface for types that have JSON mappings. More...
 

Function Documentation

◆ DAW_JSON_REQUIRES()

template<typename Container DAW_JSON_ENABLEIF>
DAW_JSON_REQUIRES ( daw::json::json_details::is_container_opted_into_json_iostreams_v< Container >  )

An opt in ostream interface for containers of types that have JSON mappings.

Definition at line 52 of file daw_json_iostream.h.

◆ operator<<()

template<typename T DAW_JSON_ENABLEIF>
std::ostream& operator<< ( std::ostream &  os,
T const &  value 
)

An opt in ostream interface for types that have JSON mappings.

Definition at line 43 of file daw_json_iostream.h.