Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-02-11 | File headers: SPDX License migration | Campbell Barton | |
Use a shorter/simpler license convention, stops the header taking so much space. Follow the SPDX license specification: https://spdx.org/licenses - C/C++/objc/objc++ - Python - Shell Scripts - CMake, GNUmakefile While most of the source tree has been included - `./extern/` was left out. - `./intern/cycles` & `./intern/atomic` are also excluded because they use different header conventions. doc/license/SPDX-license-identifiers.txt has been added to list SPDX all used identifiers. See P2788 for the script that automated these edits. Reviewed By: brecht, mont29, sergey Ref D14069 | |||
2022-01-03 | Cleanup: Rename ObjectValue to DictionaryValue (Serialization). | Jeroen Bakker | |
ObjectValue was to confusing as it is the term from JSON. | |||
2021-10-26 | Cleanup: clang-format | Brecht Van Lommel | |
2021-10-26 | BlenLib: Add JSON Serialization/Deserialization Abstraction Layer. | Jeroen Bakker | |
Adds an abstraction layer to switch between serialization formats. Currently only supports JSON. The abstraction layer supports `String`, `Int`, `Array`, `Null`, `Boolean`, `Float` and `Object`. This feature is only CPP complaint. To write from a stream, the structure can be built by creating a value (any subclass of `blender::io::serialize::Value` can do, and pass it to the `serialize` method of a `blender::io::serialize::Formatter`. The formatter is abstract and there is one implementation for JSON (`JsonFormatter`). To read from a stream use the `deserialize` method of the formatter. {D12693} uses this abstraction layer to read/write asset indexes. Reviewed By: Severin, sybren Maniphest Tasks: T91430 Differential Revision: https://developer.blender.org/D12544 |