JSON for Modern C++  2.1.1

◆ operator<< [2/2]

template<template< typename U, typename V, typename... Args > class ObjectType = std::map, template< typename U, typename... Args > class ArrayType = std::vector, class StringType = std::string, class BooleanType = bool, class NumberIntegerType = std::int64_t, class NumberUnsignedType = std::uint64_t, class NumberFloatType = double, template< typename U > class AllocatorType = std::allocator, template< typename T, typename SFINAE=void > class JSONSerializer = adl_serializer>
JSON_DEPRECATED friend std::istream& operator<< ( basic_json j,
std::istream &  i 
)
friend
Deprecated:
This stream operator is deprecated and will be removed in a future version of the library. Please use std::istream& operator>>(std::istream&, basic_json&) instead; that is, replace calls like j << i; with i >> j;.

Definition at line 7521 of file json.hpp.