|
| std::unexpected< json::Value > | missingFieldError (json::StaticString const field, std::optional< std::string > err=std::nullopt) |
| std::unexpected< json::Value > | invalidFieldError (std::string const &err, json::StaticString const field, std::string const &type) |
| std::unexpected< json::Value > | malformedError (std::string const &err, std::string const &message) |
| std::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> |
| std::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) |
| std::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) |
| std::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) |
| std::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) |
| std::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) |
| std::expected< uint192, json::Value > | requiredUInt192 (json::Value const ¶ms, json::StaticString const fieldName, std::string const &err) |
| template<> |
| std::optional< Asset > | parse (json::Value const ¶m) |
| std::expected< Asset, json::Value > | requiredAsset (json::Value const ¶ms, json::StaticString const fieldName, std::string const &err) |
| std::expected< STXChainBridge, json::Value > | parseBridgeFields (json::Value const ¶ms) |