Skip to content

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

Description

@pdimov
  • result<T, E>: { "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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions