diff --git a/CMakeLists.txt b/CMakeLists.txt index 731aa19..5e9704a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.21) -project(mat-json VERSION 3.0.2) +project(mat-json VERSION 3.0.3) set(SOURCE_FILES src/external/dragonbox.cpp diff --git a/README.md b/README.md index 11d1ac4..f8158e6 100644 --- a/README.md +++ b/README.md @@ -282,6 +282,17 @@ int main() { There is built in support for serializing std containers by including an optional header: +Supported classes (given T is serializable): +* `std::vector` +* `std::span` +* `std::map` +* `std::unordered_map` +* `std::set` +* `std::unordered_set` +* `std::optional` - `null` is prioritized as `std::nullopt` +* `std::shared_ptr` - same as above +* `std::unique_ptr` - same as above + ```cpp #include