[#BloombergLP-bdljsn-operator_lshift-07d] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::operator<< :relfileprefix: ../../ :mrdocs: Stream insertion operators == Synopses Declared in `<bdljsn_error.h>` Write "null" ‐‐ the invariant value of the specified `object` ‐‐ to the specified output `stream` in a single‐line format and return a reference to `stream`. Note that this method has the same behavior as ` object.print(stream, 0, ‐1); ` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::ostream& xref:BloombergLP/bdljsn/operator_lshift-09c.adoc[operator<<]( std::ostream& stream, xref:BloombergLP/bdljsn/JsonNull-0b.adoc[JsonNull] const& object); ---- [.small]#xref:BloombergLP/bdljsn/operator_lshift-09c.adoc[_» more..._]# Write the value of the specified `object` to the specified output `stream` in a single‐line format, and return a non‐`const` reference to `stream`. If `stream` is not valid on entry, this operation has no effect. Note that this human‐readable format is not fully specified and can change without notice. Also note that this method has the same behavior as `object.print(stream, 0, ‐1)`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::ostream& xref:BloombergLP/bdljsn/operator_lshift-074.adoc[operator<<]( std::ostream& stream, xref:BloombergLP/bdljsn/JsonNumber.adoc[JsonNumber] const& object); ---- [.small]#xref:BloombergLP/bdljsn/operator_lshift-074.adoc[_» more..._]# Write the string representation of the specified enumeration `value` to the specified output `stream` in a single‐line format, and return a reference to `stream`. See `toAscii` for what constitutes the string representation of a `bdljsn::JsonType::Enum` value. Note that this method has the same behavior as ` bdljsn::JsonType::print(stream, value, 0, ‐1); ` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::ostream& xref:BloombergLP/bdljsn/operator_lshift-03e.adoc[operator<<]( std::ostream& stream, xref:BloombergLP/bdljsn/JsonType/Enum.adoc[JsonType::Enum] value); ---- [.small]#xref:BloombergLP/bdljsn/operator_lshift-03e.adoc[_» more..._]# Write the value of the specified `object` to the specified output `stream` in a single‐line format, and return a reference to `stream`. If `stream` is not valid on entry, this operation has no effect. Note that this human‐readable format is not fully specified, can change without notice, and is logically equivalent to: ` print(stream, 0, ‐1); ` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::ostream& xref:BloombergLP/bdljsn/operator_lshift-032.adoc[operator<<]( std::ostream& stream, xref:BloombergLP/bdljsn/JsonArray.adoc[JsonArray] const& object); ---- [.small]#xref:BloombergLP/bdljsn/operator_lshift-032.adoc[_» more..._]# Write the value of the specified `object` to the specified output `stream` in a single‐line format, and return a reference to `stream`. If `stream` is not valid on entry, this operation has no effect. Note that this human‐readable format is not fully specified, can change without notice, and is logically equivalent to: ` print(stream, 0, ‐1); ` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::ostream& xref:BloombergLP/bdljsn/operator_lshift-05.adoc[operator<<]( std::ostream& stream, xref:BloombergLP/bdljsn/JsonObject.adoc[JsonObject] const& object); ---- [.small]#xref:BloombergLP/bdljsn/operator_lshift-05.adoc[_» more..._]# Write the value of the specified `object` to the specified output `stream` in a single‐line format, and return a reference to `stream`. If `stream` is not valid on entry, this operation has no effect. Note that this human‐readable format is not fully specified, can change without notice, and is logically equivalent to: ` print(stream, 0, ‐1); ` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::ostream& xref:BloombergLP/bdljsn/operator_lshift-0bf.adoc[operator<<]( std::ostream& stream, xref:BloombergLP/bdljsn/Json.adoc[Json] const& object); ---- [.small]#xref:BloombergLP/bdljsn/operator_lshift-0bf.adoc[_» more..._]# Write the string representation of the specified enumeration `value` to the specified output `stream` in a single‐line format, and return a reference to `stream`. See `toAscii` for what constitutes the string representation of a `bdljsn::WriteStyle::Enum` value. Note that this method has the same behavior as ` bdljsn::WriteStyle::print(stream, value, 0, ‐1); ` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::ostream& xref:BloombergLP/bdljsn/operator_lshift-096.adoc[operator<<]( std::ostream& stream, xref:BloombergLP/bdljsn/WriteStyle/Enum.adoc[WriteStyle::Enum] value); ---- [.small]#xref:BloombergLP/bdljsn/operator_lshift-096.adoc[_» more..._]# Write the value of the specified `object` to the specified output `stream` in a single‐line format, and return a non‐`const` reference to `stream`. If `stream` is not valid on entry, this operation has no effect. Note that this human‐readable format is not fully specified and can change without notice. Also note that this method has the same behavior as `object.print(stream, 0, ‐1)`, but with the attribute names elided. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::ostream& xref:BloombergLP/bdljsn/operator_lshift-0be.adoc[operator<<]( std::ostream& stream, xref:BloombergLP/bdljsn/Location.adoc[Location] const& object); ---- [.small]#xref:BloombergLP/bdljsn/operator_lshift-0be.adoc[_» more..._]# Write the value of the specified `object` to the specified output `stream` in a single‐line format, and return a non‐`const` reference to `stream`. If `stream` is not valid on entry, this operation has no effect. Note that this human‐readable format is not fully specified and can change without notice. Also note that this method has the same behavior as `object.print(stream, 0, ‐1)`, but with the attribute names elided. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::ostream& xref:BloombergLP/bdljsn/operator_lshift-0d.adoc[operator<<]( std::ostream& stream, xref:BloombergLP/bdljsn/Error.adoc[Error] const& object); ---- [.small]#xref:BloombergLP/bdljsn/operator_lshift-0d.adoc[_» more..._]# Format the specified `rhs` to the specified output `stream` in a single line format and return a non‐`const` reference to `stream`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::ostream& xref:BloombergLP/bdljsn/operator_lshift-01.adoc[operator<<]( std::ostream& stream, xref:BloombergLP/bdljsn/ReadOptions.adoc[ReadOptions] const& rhs); ---- [.small]#xref:BloombergLP/bdljsn/operator_lshift-01.adoc[_» more..._]# Format the specified `rhs` to the specified output `stream` and return a non‐`const` reference `stream`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::ostream& xref:BloombergLP/bdljsn/operator_lshift-08.adoc[operator<<]( std::ostream& stream, xref:BloombergLP/bdljsn/WriteOptions.adoc[WriteOptions] const& rhs); ---- [.small]#xref:BloombergLP/bdljsn/operator_lshift-08.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#