|
| Unexpected< Json::Value > | missingFieldError (Json::StaticString const field, std::optional< std::string > err=std::nullopt) |
| |
| Unexpected< Json::Value > | invalidFieldError (std::string const &err, Json::StaticString const field, std::string const &type) |
| |
| Unexpected< Json::Value > | malformedError (std::string const &err, std::string const &message) |
| |
| Expected< bool, Json::Value > | hasRequired (Json::Value const ¶ms, std::initializer_list< Json::StaticString > fields, std::optional< std::string > err=std::nullopt) |
| |
| template<class T > |
| std::optional< T > | parse (Json::Value const ¶m) |
| |
| template<class T > |
| Expected< T, Json::Value > | required (Json::Value const ¶ms, Json::StaticString const fieldName, std::string const &err, std::string const &expectedType) |
| |
| template<> |
| std::optional< AccountID > | parse (Json::Value const ¶m) |
| |
| Expected< AccountID, Json::Value > | requiredAccountID (Json::Value const ¶ms, Json::StaticString const fieldName, std::string const &err) |
| |
| std::optional< Blob > | parseHexBlob (Json::Value const ¶m, std::size_t maxLength) |
| |
| Expected< Blob, Json::Value > | requiredHexBlob (Json::Value const ¶ms, Json::StaticString const fieldName, std::size_t maxLength, std::string const &err) |
| |
| template<> |
| std::optional< std::uint32_t > | parse (Json::Value const ¶m) |
| |
| Expected< std::uint32_t, Json::Value > | requiredUInt32 (Json::Value const ¶ms, Json::StaticString const fieldName, std::string const &err) |
| |
| template<> |
| std::optional< uint256 > | parse (Json::Value const ¶m) |
| |
| Expected< uint256, Json::Value > | requiredUInt256 (Json::Value const ¶ms, Json::StaticString const fieldName, std::string const &err) |
| |
| template<> |
| std::optional< uint192 > | parse (Json::Value const ¶m) |
| |
| Expected< uint192, Json::Value > | requiredUInt192 (Json::Value const ¶ms, Json::StaticString const fieldName, std::string const &err) |
| |
| Expected< STXChainBridge, Json::Value > | parseBridgeFields (Json::Value const ¶ms) |
| |