Example from src\http\oauth\oauth2_handler.cpp:
```
.then([](json::value token_json)
{
return token_json[U("access_token")].as_string();
})
```
If we don’t get the expected value, it will resurface as an unhandled JSON parsing error, which is very hard to diagnose. Maybe there is a non-exceptional way to deal with it?
Comments: Looks fine based on the code. I do want to avoid excessive exception throwing in this code, and this is already covered by issue #183.
```
.then([](json::value token_json)
{
return token_json[U("access_token")].as_string();
})
```
If we don’t get the expected value, it will resurface as an unhandled JSON parsing error, which is very hard to diagnose. Maybe there is a non-exceptional way to deal with it?
Comments: Looks fine based on the code. I do want to avoid excessive exception throwing in this code, and this is already covered by issue #183.