revert 'Made it possible to drop null placeholders from array output.'

revert ae3c7a7aab
This commit is contained in:
Christopher Dunn
2015-01-29 11:54:33 -06:00
parent 254fe6a07a
commit 6f6ddaa91c
3 changed files with 2 additions and 25 deletions

View File

@@ -158,13 +158,6 @@ public:
void enableYAMLCompatibility();
/** \brief Drop the "null" string from the writer's output for nullValues.
* Strictly speaking, this is not valid JSON. But when the output is being
* fed to a browser's Javascript, it makes for smaller output and the
* browser can handle the output just fine.
*/
void dropNullPlaceholders();
public: // overridden from Writer
virtual std::string write(const Value& root);
@@ -173,7 +166,6 @@ private:
std::string document_;
bool yamlCompatiblityEnabled_;
bool dropNullPlaceholders_;
};
/** \brief Writes a Value in <a HREF="http://www.json.org">JSON</a> format in a