boostorg / boostorg/system

Add support for boost::json::value_from, boost::json::value_to

Open
#95 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
45
Forks
96
PR merge metrics
No merged PRs in 30d

Description

* `result`: `{ "value": t }` or `{ "error": e }`;
* `error_code`: `{ "category": "system", "value": 5, "message": "Access is denied" }`;
* `error_condition`: same;
* `error_code` wrapping `std::error_code`: `"category": "std:system"`;
* for `value_to`, when the category name is unrecognized (not one of "system", "generic", "std:system", "std:generic", "std:iostream"?, "std:future"?): deserialize to `unknown_category`, same value;
* maybe use the unknown category instead of "interop", too, without modifying the value.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.