diff --git a/Object_8cpp_source.html b/Object_8cpp_source.html
index b51a6bc7e6..1776e71a25 100644
--- a/Object_8cpp_source.html
+++ b/Object_8cpp_source.html
@@ -326,14 +326,14 @@ $(function() {
@ arrayValue
array value (ordered list)
Array appendArray()
Append a new Array and return it.
-void finish()
Finish the collection most recently started.
+void finish()
Finish the collection most recently started.
Root(Writer &)
Each Object::Root must be constructed with its own unique Writer.
Object(Collection *parent, Writer *w)
void check(bool condition, std::string const &message)
-void startAppend(CollectionType)
Start a new collection inside an array.
-void startRoot(CollectionType)
Start a new collection at the root level.
+void startAppend(CollectionType)
Start a new collection inside an array.
+void startRoot(CollectionType)
Start a new collection at the root level.
void copyFrom(Json::Value &to, Json::Value const &from)
Copy all the keys and values from one object into another.
WriterObject stringWriterObject(std::string &s)
@@ -352,7 +352,7 @@ $(function() {
@ stringValue
UTF-8 string value.
Collection & operator=(Collection &&c) noexcept
Object appendObject()
Append a new Object and return it.
-void startSet(CollectionType, std::string const &key)
Start a new collection inside an object.
+void startSet(CollectionType, std::string const &key)
Start a new collection inside an object.
void append(Scalar const &)
Append a scalar to the Arrary.
Represents a JSON object being written to a Writer.
Members getMemberNames() const
Return a list of the member names.
diff --git a/Writer_8cpp_source.html b/Writer_8cpp_source.html
index f218034361..61d774861f 100644
--- a/Writer_8cpp_source.html
+++ b/Writer_8cpp_source.html
@@ -118,369 +118,366 @@ $(function() {
47 const char openBracket =
'[';
48 const char quote =
'"';
-
+ 50 static auto const integralFloatsBecomeInts =
false;
- 52 static auto const integralFloatsBecomeInts =
false;
-
-
-
-
- 57 auto dotPos = s.
find(
'.');
- 58 if (dotPos == std::string::npos)
-
-
-
- 62 auto hasDecimals = dotPos != lastNonZero;
-
-
- 65 return lastNonZero + 1;
-
- 67 if (integralFloatsBecomeInts || lastNonZero + 2 > s.
size())
-
-
- 70 return lastNonZero + 2;
-
+
+
+
+ 55 auto dotPos = s.
find(
'.');
+ 56 if (dotPos == std::string::npos)
+
+
+
+ 60 auto hasDecimals = dotPos != lastNonZero;
+
+
+ 63 return lastNonZero + 1;
+
+ 65 if (integralFloatsBecomeInts || lastNonZero + 2 > s.
size())
+
+
+ 68 return lastNonZero + 2;
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 96 char ch = (ct ==
array) ? openBracket : openBrace;
-
-
-
-
-
-
- 103 output(boost::beast::string_view
const& bytes)
-
-
-
-
-
-
-
-
-
-
-
-
- 116 auto data = bytes.data();
- 117 for (; position < bytes.size(); ++position)
-
- 119 auto i = jsonSpecialCharacterEscape.
find(data[position]);
- 120 if (i != jsonSpecialCharacterEscape.
end())
-
- 122 if (writtenUntil < position)
-
- 124 output_({data + writtenUntil, position - writtenUntil});
-
- 126 output_({i->second, jsonEscapeLength});
- 127 writtenUntil = position + 1;
-
-
- 130 if (writtenUntil < position)
- 131 output_({data + writtenUntil, position - writtenUntil});
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 153 ((type ==
array ?
"array: " :
"object: ") + message));
-
-
-
-
-
-
-
-
-
-
-
-
-
- 167 check(tags.find(tag) == tags.end(),
"Already seen tag " + tag);
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 187 auto ch = isArray ? closeBracket : closeBrace;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 94 char ch = (ct ==
array) ? openBracket : openBrace;
+
+
+
+
+
+
+ 101 output(boost::beast::string_view
const& bytes)
+
+
+
+
+
+
+
+
+
+
+
+
+ 114 auto data = bytes.data();
+ 115 for (; position < bytes.size(); ++position)
+
+ 117 auto i = jsonSpecialCharacterEscape.
find(data[position]);
+ 118 if (i != jsonSpecialCharacterEscape.
end())
+
+ 120 if (writtenUntil < position)
+
+ 122 output_({data + writtenUntil, position - writtenUntil});
+
+ 124 output_({i->second, jsonEscapeLength});
+ 125 writtenUntil = position + 1;
+
+
+ 128 if (writtenUntil < position)
+ 129 output_({data + writtenUntil, position - writtenUntil});
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 151 ((type ==
array ?
"array: " :
"object: ") + message));
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 165 check(tags.find(tag) == tags.end(),
"Already seen tag " + tag);
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 185 auto ch = isArray ? closeBracket : closeBrace;
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 247 impl_ = std::move(w.impl_);
-
-
-
-
-
- 253 impl_ = std::move(w.impl_);
-
-
-
-
-
-
- 260 impl_->stringOutput(s);
-
-
-
-
-
- 266 impl_->stringOutput(s);
-
-
-
-
-
- 272 impl_->markStarted();
-
-
-
-
-
-
-
- 280 impl_->output({s.
data(), lengthWithoutTrailingZeros(s)});
-
-
-
-
-
-
- 287 impl_->output({s.
data(), lengthWithoutTrailingZeros(s)});
-
-
-
-
- 292 impl_->output(
"null");
-
-
-
-
-
- 298 impl_->output(b ?
"true" :
"false");
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 325 impl_->nextCollectionEntry(
object,
"set");
- 326 impl_->writeObjectTag(tag);
-
-
-
-
-
-
-
-
-
-
-
- 338 impl_->nextCollectionEntry(
array,
"startAppend");
-
-
-
-
-
-
- 345 impl_->nextCollectionEntry(
object,
"startSet");
- 346 impl_->writeObjectTag(key);
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 245 impl_ = std::move(w.impl_);
+
+
+
+
+
+ 251 impl_ = std::move(w.impl_);
+
+
+
+
+
+
+ 258 impl_->stringOutput(s);
+
+
+
+
+
+ 264 impl_->stringOutput(s);
+
+
+
+
+
+ 270 impl_->markStarted();
+
+
+
+
+
+
+
+ 278 impl_->output({s.
data(), lengthWithoutTrailingZeros(s)});
+
+
+
+
+
+
+ 285 impl_->output({s.
data(), lengthWithoutTrailingZeros(s)});
+
+
+
+
+ 290 impl_->output(
"null");
+
+
+
+
+
+ 296 impl_->output(b ?
"true" :
"false");
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 323 impl_->nextCollectionEntry(
object,
"set");
+ 324 impl_->writeObjectTag(tag);
+
+
+
+
+
+
+
+
+
+
+
+ 336 impl_->nextCollectionEntry(
array,
"startAppend");
+
+
+
+
+
+
+ 343 impl_->nextCollectionEntry(
object,
"startSet");
+ 344 impl_->writeObjectTag(key);
+
+
+
+
+
+
+
+
+
+
+
-void nextCollectionEntry(CollectionType type, std::string const &message)
-void rawAppend()
Add a comma before this next item if not the first item in an array.
-void implOutput(std::string const &)
-
+void nextCollectionEntry(CollectionType type, std::string const &message)
+void rawAppend()
Add a comma before this next item if not the first item in an array.
+void implOutput(std::string const &)
+
-Output const & getOutput() const
-std::set< std::string > tags
What tags have we already seen in this collection?
-
-bool isFirst
Is this the first entry in a collection? If false, we have to emit a , before we write the next entry...
+Output const & getOutput() const
+std::set< std::string > tags
What tags have we already seen in this collection?
+
+bool isFirst
Is this the first entry in a collection? If false, we have to emit a , before we write the next entry...
T find_last_not_of(T... args)
-Impl(Output const &output)
-void finish()
Finish the collection most recently started.
+Impl(Output const &output)
+void finish()
Finish the collection most recently started.
Impl & operator=(Impl &&)=delete
-void writeObjectTag(std::string const &tag)
+void writeObjectTag(std::string const &tag)
void check(bool condition, std::string const &message)
-void startAppend(CollectionType)
Start a new collection inside an array.
+void startAppend(CollectionType)
Start a new collection inside an array.
-void startRoot(CollectionType)
Start a new collection at the root level.
-
+void startRoot(CollectionType)
Start a new collection at the root level.
+
-Writer::CollectionType type
What type of collection are we in?
-void finishAll()
Finish all objects and arrays.
+Writer::CollectionType type
What type of collection are we in?
+void finishAll()
Finish all objects and arrays.
void outputJson(Json::Value const &value, Output const &out)
Writes a minimal representation of a Json value to an Output in O(n) time.
JSON (JavaScript Object Notation).
-
-
-
+
+
std::unique_ptr< Impl > impl_
-void start(CollectionType ct)
+void start(CollectionType ct)
-
+
-void startSet(CollectionType, std::string const &key)
Start a new collection inside an object.
-Writer & operator=(Writer &&) noexcept
-
-
+void startSet(CollectionType, std::string const &key)
Start a new collection inside an object.
+Writer & operator=(Writer &&) noexcept
+
+
-void rawSet(std::string const &key)
Emit just "tag": as part of an object.
+void rawSet(std::string const &key)
Emit just "tag": as part of an object.
-
-Writer(Output const &output)
-
-void output(std::string const &)
+
+Writer(Output const &output)
+
+void output(std::string const &)
std::string to_string(Manifest const &m)
Format the specified manifest to a string for debugging purposes.
-void output(boost::beast::string_view const &bytes)
+void output(boost::beast::string_view const &bytes)
-
-void stringOutput(boost::beast::string_view const &bytes)
+
+void stringOutput(boost::beast::string_view const &bytes)
Writer implements an O(1)-space, O(1)-granular output JSON writer.
diff --git a/Writer__test_8cpp_source.html b/Writer__test_8cpp_source.html
index 4579cbb917..9964279c7b 100644
--- a/Writer__test_8cpp_source.html
+++ b/Writer__test_8cpp_source.html
@@ -289,17 +289,17 @@ $(function() {
void setup(std::string const &testName)
void append(Scalar t)
Append a value to an array.
-void finish()
Finish the collection most recently started.
+void finish()
Finish the collection most recently started.
BEAST_DEFINE_TESTSUITE(JsonObject, ripple_basics, ripple)
void set(std::string const &tag, Type t)
Add a key, value assignment to an object.
-void startAppend(CollectionType)
Start a new collection inside an array.
-void startRoot(CollectionType)
Start a new collection at the root level.
+void startAppend(CollectionType)
Start a new collection inside an array.
+void startRoot(CollectionType)
Start a new collection at the root level.
-void finishAll()
Finish all objects and arrays.
+void finishAll()
Finish all objects and arrays.
JSON (JavaScript Object Notation).
@ objectValue
object value (collection of name/value pairs).
@@ -310,7 +310,7 @@ $(function() {
std::unique_ptr< Json::Writer > writer_
-void startSet(CollectionType, std::string const &key)
Start a new collection inside an object.
+void startSet(CollectionType, std::string const &key)
Start a new collection inside an object.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
@@ -318,7 +318,7 @@ $(function() {
-void output(std::string const &)
+void output(std::string const &)
diff --git a/classJson_1_1Writer.html b/classJson_1_1Writer.html
index ccea3222d0..3c79dd9a36 100644
--- a/classJson_1_1Writer.html
+++ b/classJson_1_1Writer.html
@@ -285,7 +285,7 @@ Private Attributes
@@ -313,7 +313,7 @@ Private Attributes
@@ -332,7 +332,7 @@ Private Attributes
@@ -361,7 +361,7 @@ Private Attributes
@@ -383,7 +383,7 @@ Private Attributes
Start a new collection at the root level.
-Definition at line 330 of file Writer.cpp.
+Definition at line 328 of file Writer.cpp.
@@ -405,7 +405,7 @@ Private Attributes
Start a new collection inside an array.
-Definition at line 336 of file Writer.cpp.
+Definition at line 334 of file Writer.cpp.
@@ -437,7 +437,7 @@ Private Attributes
Start a new collection inside an object.
-Definition at line 343 of file Writer.cpp.
+Definition at line 341 of file Writer.cpp.
@@ -458,7 +458,7 @@ Private Attributes
Finish the collection most recently started.
-Definition at line 351 of file Writer.cpp.
+Definition at line 349 of file Writer.cpp.
@@ -480,7 +480,7 @@ Private Attributes
Finish all objects and arrays.
After finishArray() has been called, no more operations can be performed.
-Definition at line 308 of file Writer.cpp.
+Definition at line 306 of file Writer.cpp.
@@ -527,7 +527,7 @@ template<typename Scalar >
Add a comma before this next item if not the first item in an array.
Useful if you are writing the actual array yourself.
-Definition at line 315 of file Writer.cpp.
+Definition at line 313 of file Writer.cpp.
@@ -587,7 +587,7 @@ template<typename Type >
Emit just "tag": as part of an object.
Useful if you are writing the actual value data yourself.
-Definition at line 321 of file Writer.cpp.
+Definition at line 319 of file Writer.cpp.
@@ -607,7 +607,7 @@ template<typename Type >
@@ -627,7 +627,7 @@ template<typename Type >
@@ -647,7 +647,7 @@ template<typename Type >
@@ -669,7 +669,7 @@ template<typename Type >
Output a null.
-Definition at line 290 of file Writer.cpp.
+Definition at line 288 of file Writer.cpp.
@@ -691,7 +691,7 @@ template<typename Type >
Output a float.
-Definition at line 277 of file Writer.cpp.
+Definition at line 275 of file Writer.cpp.
@@ -713,7 +713,7 @@ template<typename Type >
Output a double.
-Definition at line 284 of file Writer.cpp.
+Definition at line 282 of file Writer.cpp.
@@ -735,7 +735,7 @@ template<typename Type >
Output a bool.
-Definition at line 296 of file Writer.cpp.
+Definition at line 294 of file Writer.cpp.
@@ -807,7 +807,7 @@ template<typename Type >
diff --git a/classJson_1_1Writer_1_1Impl.html b/classJson_1_1Writer_1_1Impl.html
index 2775d16f01..99ccb585f2 100644
--- a/classJson_1_1Writer_1_1Impl.html
+++ b/classJson_1_1Writer_1_1Impl.html
@@ -143,7 +143,7 @@ Private Attributes
-
Definition at line 75 of file Writer.cpp.
+
Definition at line 73 of file Writer.cpp.
◆ Stack
@@ -165,7 +165,7 @@ Private Attributes
@@ -194,7 +194,7 @@ Private Attributes
@@ -291,7 +291,7 @@ Private Attributes
@@ -311,7 +311,7 @@ Private Attributes
@@ -331,7 +331,7 @@ Private Attributes
@@ -351,7 +351,7 @@ Private Attributes
@@ -370,7 +370,7 @@ Private Attributes
@@ -400,7 +400,7 @@ Private Attributes
@@ -420,7 +420,7 @@ Private Attributes
@@ -439,7 +439,7 @@ Private Attributes
@@ -458,7 +458,7 @@ Private Attributes
@@ -477,7 +477,7 @@ Private Attributes
@@ -496,7 +496,7 @@ Private Attributes
@@ -521,7 +521,7 @@ Private Attributes
@@ -545,7 +545,7 @@ Private Attributes
@@ -569,7 +569,7 @@ Private Attributes
diff --git a/json_2Writer_8h_source.html b/json_2Writer_8h_source.html
index eddf9202ce..8b7f14ac87 100644
--- a/json_2Writer_8h_source.html
+++ b/json_2Writer_8h_source.html
@@ -204,33 +204,33 @@ $(function() {
-void rawAppend()
Add a comma before this next item if not the first item in an array.
-void implOutput(std::string const &)
+void rawAppend()
Add a comma before this next item if not the first item in an array.
+void implOutput(std::string const &)
void append(Scalar t)
Append a value to an array.
-void finish()
Finish the collection most recently started.
+void finish()
Finish the collection most recently started.
void set(std::string const &tag, Type t)
Add a key, value assignment to an object.
void check(bool condition, std::string const &message)
-void startAppend(CollectionType)
Start a new collection inside an array.
+void startAppend(CollectionType)
Start a new collection inside an array.
constexpr const char * c_str() const
-void startRoot(CollectionType)
Start a new collection at the root level.
+void startRoot(CollectionType)
Start a new collection at the root level.
-void finishAll()
Finish all objects and arrays.
+void finishAll()
Finish all objects and arrays.
JSON (JavaScript Object Notation).
void output(Json::StaticString const &t)
std::unique_ptr< Impl > impl_
-void startSet(CollectionType, std::string const &key)
Start a new collection inside an object.
-
+void startSet(CollectionType, std::string const &key)
Start a new collection inside an object.
+
Lightweight wrapper to tag static string.
-void rawSet(std::string const &key)
Emit just "tag": as part of an object.
+void rawSet(std::string const &key)
Emit just "tag": as part of an object.
void output(Type t)
Output numbers or booleans.
-Writer(Output const &output)
-void output(std::string const &)
+Writer(Output const &output)
+void output(std::string const &)
Writer implements an O(1)-space, O(1)-granular output JSON writer.
diff --git a/structJson_1_1Writer_1_1Impl_1_1Collection.html b/structJson_1_1Writer_1_1Impl_1_1Collection.html
index cd22233b71..225ebcf808 100644
--- a/structJson_1_1Writer_1_1Impl_1_1Collection.html
+++ b/structJson_1_1Writer_1_1Impl_1_1Collection.html
@@ -103,7 +103,7 @@ Public Attributes
-
Definition at line 210 of file Writer.cpp.
+
Definition at line 208 of file Writer.cpp.
◆ Collection()
@@ -145,7 +145,7 @@ Public Attributes
What type of collection are we in?
-Definition at line 215 of file Writer.cpp.
+Definition at line 213 of file Writer.cpp.
@@ -163,7 +163,7 @@ Public Attributes
Is this the first entry in a collection? If false, we have to emit a , before we write the next entry.
-Definition at line 219 of file Writer.cpp.
+Definition at line 217 of file Writer.cpp.
@@ -181,7 +181,7 @@ Public Attributes
What tags have we already seen in this collection?
-Definition at line 223 of file Writer.cpp.
+Definition at line 221 of file Writer.cpp.