rippled
Public Member Functions | Private Attributes | List of all members
ripple::test::jtx::json Class Reference

Inject raw JSON. More...

Collaboration diagram for ripple::test::jtx::json:
Collaboration graph
[legend]

Public Member Functions

 json (std::string const &)
 
 json (char const *)
 
 json (Json::Value)
 
template<class T >
 json (Json::StaticString const &key, T const &value)
 
template<class T >
 json (std::string const &key, T const &value)
 
void operator() (Env &, JTx &jt) const
 

Private Attributes

Json::Value jv_
 

Detailed Description

Inject raw JSON.

Definition at line 31 of file jtx_json.h.

Constructor & Destructor Documentation

◆ json() [1/5]

ripple::test::jtx::json::json ( std::string const &  s)
explicit

Definition at line 29 of file jtx_json.cpp.

◆ json() [2/5]

ripple::test::jtx::json::json ( char const *  s)
explicit

Definition at line 35 of file jtx_json.cpp.

◆ json() [3/5]

ripple::test::jtx::json::json ( Json::Value  jv)
explicit

Definition at line 39 of file jtx_json.cpp.

◆ json() [4/5]

template<class T >
ripple::test::jtx::json::json ( Json::StaticString const &  key,
T const &  value 
)

Definition at line 44 of file jtx_json.h.

◆ json() [5/5]

template<class T >
ripple::test::jtx::json::json ( std::string const &  key,
T const &  value 
)

Definition at line 50 of file jtx_json.h.

Member Function Documentation

◆ operator()()

void ripple::test::jtx::json::operator() ( Env ,
JTx jt 
) const

Definition at line 44 of file jtx_json.cpp.

Member Data Documentation

◆ jv_

Json::Value ripple::test::jtx::json::jv_
private

Definition at line 34 of file jtx_json.h.