Add jtx::json string constructor

This commit is contained in:
Miguel Portilla
2016-02-16 10:26:57 -05:00
committed by Vinnie Falco
parent 172356d299
commit 5663c45a0d

View File

@@ -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;
};