1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-31 10:24:23 +03:00
includes some macros to be defined for using without file io.
This commit is contained in:
David Pfahler
2021-04-21 10:24:01 +02:00
parent db78ac1d77
commit 1a1381f071
3 changed files with 12 additions and 4 deletions

View File

@ -6521,7 +6521,7 @@ class basic_json
/// @name serialization
/// @{
#ifndef JSON_NO_IO
/*!
@brief serialize to stream
@ -6581,7 +6581,7 @@ class basic_json
{
return o << j;
}
#endif // JSON_NO_IO
/// @}
@ -6837,7 +6837,7 @@ class basic_json
? parser(std::move(ia), nullptr, true, ignore_comments).sax_parse(sax, strict)
: detail::binary_reader<basic_json, decltype(ia), SAX>(std::move(ia)).sax_parse(format, sax, strict);
}
#ifndef JSON_NO_IO
/*!
@brief deserialize from stream
@deprecated This stream operator is deprecated and will be removed in
@ -6882,7 +6882,7 @@ class basic_json
parser(detail::input_adapter(i)).parse(false, j);
return i;
}
#endif // JSON_NO_IO
/// @}
///////////////////////////