This commit is contained in:
nlohmann
2026-09-15 20:47:46 +00:00
parent 7b7abfd224
commit db9042b6ac
306 changed files with 4213 additions and 781 deletions
+4
View File
@@ -10,6 +10,10 @@ The type used to store JSON booleans.
To store boolean values in C++, a type is defined by the template parameter `BooleanType` which chooses the type to use.
## Template parameters
`BooleanType` : the type to store booleans. As it is stored directly inside a `basic_json` value (in a union), it must be a trivially default-constructible, trivially copyable, and trivially destructible type that is convertible to and from `bool`. See [Template Parameter Requirements](https://json.nlohmann.me/features/types/template_parameters/#booleantype).
## Notes
#### Default type