mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-04 11:15:56 +00:00
Add jtx::json string constructor
This commit is contained in:
committed by
Vinnie Falco
parent
172356d299
commit
5663c45a0d
@@ -49,6 +49,12 @@ public:
|
||||
jv_[key] = value;
|
||||
}
|
||||
|
||||
template <class T>
|
||||
json (std::string const& key, T const& value)
|
||||
{
|
||||
jv_[key] = value;
|
||||
}
|
||||
|
||||
void
|
||||
operator()(Env&, JTx& jt) const;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user