Skip to content

Commit

Permalink
Merge branch 'master' into master_version
Browse files Browse the repository at this point in the history
  • Loading branch information
The-EDev committed Jun 28, 2021
2 parents 4f4135a + 189e070 commit 462a71e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/guides/json.md
Expand Up @@ -36,3 +36,7 @@ An object type `wvalue` uses `std::unordered_map` by default, if you want to hav
A JSON `wvalue` can be returned directly inside a route handler, this will cause the `content-type` header to automatically be set to `Application/json` and the JSON value will be converted to string and placed in the response body. For more information go to [Routes](../routes).<br><br>

For more info on write values go [here](../../reference/classcrow_1_1json_1_1wvalue.html).

!!!note

Crow's json exceptions can be disabled by using the `#!cpp #define CROW_JSON_NO_ERROR_CHECK` macro. This should increase the program speed with the drawback of having unexpected behavious when used incorrectly (e.g. by attempting to parse an invalid json object).

0 comments on commit 462a71e

Please sign in to comment.