diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-10-27 05:59:41 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-10-27 07:55:36 +0300 |
commit | a3b785bc083f3d83198c402e00da9d610389ca98 (patch) | |
tree | 2dbb8e331638c76d24a79fd3cc61825cbc1f0aa8 /source/blender/blenlib/BLI_serialize.hh | |
parent | 44ac5830c561a690646108fd528ec9f3941f66ee (diff) |
Cleanup: clang-format, clang-tidy, spelling
Diffstat (limited to 'source/blender/blenlib/BLI_serialize.hh')
-rw-r--r-- | source/blender/blenlib/BLI_serialize.hh | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/blenlib/BLI_serialize.hh b/source/blender/blenlib/BLI_serialize.hh index 8bec2785f83..7b8aa03b807 100644 --- a/source/blender/blenlib/BLI_serialize.hh +++ b/source/blender/blenlib/BLI_serialize.hh @@ -50,20 +50,20 @@ * The next example would format an integer value (42) as JSON the result will * be stored inside `out`. * - * ``` + * \code{.cc} * JsonFormatter json; * std::stringstream out; * IntValue test_value(42); * json.serialize(out, test_value); - * ``` + * \endcode * * ## Deserializing * - * ``` - * std::stringstream is("42") + * \code{.cc} + * std::stringstream is("42"); * JsonFormatter json; * std::unique_ptr<Value> value = json.deserialize(is); - * ``` + * \endcode * * # Adding a new formatter * @@ -113,7 +113,7 @@ using ArrayValue = * Class containing a (de)serializable value. * * To serialize from or to a specific format the Value will be used as an intermediate container - * holding the values. Value class is abstract. There are concreate classes to for different data + * holding the values. Value class is abstract. There are concrete classes to for different data * types. * * - `StringValue`: contains a string. @@ -311,7 +311,7 @@ class Formatter { }; /** - * Formatter to (de)serialize a json formatted stream. + * Formatter to (de)serialize a JSON formatted stream. */ class JsonFormatter : public Formatter { public: |