diff options
Diffstat (limited to 'include/text/json_formatter.h')
| -rw-r--r-- | include/text/json_formatter.h | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/include/text/json_formatter.h b/include/text/json_formatter.h index 2f9246939b..923970f446 100644 --- a/include/text/json_formatter.h +++ b/include/text/json_formatter.h @@ -32,22 +32,23 @@ namespace nbt { -namespace text -{ + namespace text + { -/** - * @brief Prints tags in a JSON-like syntax into a stream - * - * @todo Make it configurable and able to produce actual standard-conformant JSON - */ -class NBT_EXPORT json_formatter -{ -public: - json_formatter() {} - void print(std::ostream& os, const tag& t) const; -}; + /** + * @brief Prints tags in a JSON-like syntax into a stream + * + * @todo Make it configurable and able to produce actual + * standard-conformant JSON + */ + class NBT_EXPORT json_formatter + { + public: + json_formatter() {} + void print(std::ostream& os, const tag& t) const; + }; -} -} + } // namespace text +} // namespace nbt #endif // JSON_FORMATTER_H_INCLUDED |
