diff options
| author | Dylan <boss@tehbox.org> | 2026-06-13 15:58:49 +1200 |
|---|---|---|
| committer | Dylan <boss@tehbox.org> | 2026-06-13 15:58:49 +1200 |
| commit | e742522e2f428a17cd389e030d167fadcd25c8ef (patch) | |
| tree | 555a8476730dd2379a2a89b59ef60db6426f34a8 /test | |
| parent | 49a8dae0f3a6e589dfad65cbbf230137a7b67f4a (diff) | |
| download | tehjson-e742522e2f428a17cd389e030d167fadcd25c8ef.tar.gz tehjson-e742522e2f428a17cd389e030d167fadcd25c8ef.zip | |
feat: Added booleans
Diffstat (limited to 'test')
| -rw-r--r-- | test/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/main.cpp b/test/main.cpp index 456810b..0f9df3a 100644 --- a/test/main.cpp +++ b/test/main.cpp @@ -16,8 +16,8 @@ int main() jsonWriter["test_float"].set<float>(51.8); jsonWriter["test_vecs"]["int"].set<int>({1, 2, 3}); // jsonWriter["test_vecs"]["float"].set<float>({0.1, 0.2, 0.3}); - // jsonWriter["test_true"].set(true); - // jsonWriter["test_false"].set(false); + jsonWriter["test_true"].set(true); + jsonWriter["test_false"].set(false); jsonWriter["test_object"]["test_int"].set<int>(100); jsonWriter["test_object"]["test_float"].set<float>(100); |
