Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-10-27 05:59:41 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-10-27 07:55:36 +0300
commita3b785bc083f3d83198c402e00da9d610389ca98 (patch)
tree2dbb8e331638c76d24a79fd3cc61825cbc1f0aa8 /source/blender/blenlib
parent44ac5830c561a690646108fd528ec9f3941f66ee (diff)
Cleanup: clang-format, clang-tidy, spelling
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r--source/blender/blenlib/BLI_serialize.hh14
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: