Skip to content

Commit

Permalink
actually its 3.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
matcool committed Nov 12, 2024
1 parent bdda23f commit a6784db
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<T>`
* `std::span<T>`
* `std::map<std::string, T>`
* `std::unordered_map<std::string, T>`
* `std::set<T>`
* `std::unordered_set<T>`
* `std::optional<T>` - `null` is prioritized as `std::nullopt`
* `std::shared_ptr<T>` - same as above
* `std::unique_ptr<T>` - same as above

```cpp
#include <matjson/std.hpp>

Expand Down

0 comments on commit a6784db

Please sign in to comment.