mirror of
https://github.com/nlohmann/json.git
synced 2026-02-21 02:46:26 +00:00
📝 add more API documentation
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
static basic_json meta();
|
||||
```
|
||||
|
||||
This function returns a JSON object with information about the library,
|
||||
including the version number and information on the platform and compiler.
|
||||
This function returns a JSON object with information about the library, including the version number and information on
|
||||
the platform and compiler.
|
||||
|
||||
## Return value
|
||||
|
||||
@@ -22,8 +22,7 @@ key | description
|
||||
|
||||
## Exception safety
|
||||
|
||||
Strong guarantee: if an exception is thrown, there are no
|
||||
changes to any JSON value.
|
||||
Strong guarantee: if an exception is thrown, there are no changes to any JSON value.
|
||||
|
||||
## Complexity
|
||||
|
||||
@@ -43,3 +42,7 @@ Output:
|
||||
```json
|
||||
--8<-- "examples/meta.output"
|
||||
```
|
||||
|
||||
## Version history
|
||||
|
||||
- Added in version 2.1.0.
|
||||
|
||||
Reference in New Issue
Block a user