This commit is contained in:
nlohmann
2026-10-03 05:43:12 +00:00
parent 2aaa1d24ef
commit a410b4f40f
741 changed files with 8115 additions and 2252 deletions
+6 -2
View File
@@ -16,11 +16,11 @@ To store boolean values in C++, a type is defined by the template parameter `Boo
## Notes
#### Default type
### Default type
With the default values for `BooleanType` (`bool`), the default value for `boolean_t` is `bool`.
#### Storage
### Storage
Boolean values are stored directly inside a `basic_json` type.
@@ -49,6 +49,10 @@ Output:
true
```
## See also
- [is_boolean](https://json.nlohmann.me/api/basic_json/is_boolean/index.md) checks whether the JSON value is a boolean
## Version history
- Added in version 1.0.0.