Class zmbt::JsonTraverse¶
ClassList > zmbt > JsonTraverse
Boost JSON value depth-first traverser.
#include <json_traverse.hpp>
Public Types¶
Type | Name |
---|---|
typedef std::function< bool(boost::json::value const &, std::string const)> | visitor_fn |
Public Functions¶
Type | Name |
---|---|
JsonTraverse (visitor_fn visit) Construct JSON traverser. |
|
void | operator() (boost::json::value const & v) const |
Public Types Documentation¶
typedef visitor_fn¶
typedef std::function<bool(boost::json::value const&, std::string const)> zmbt::JsonTraverse::visitor_fn;
Public Functions Documentation¶
function JsonTraverse¶
Construct JSON traverser.
Parameters:
visit
JSON node visitor: (node, JSON pointer, output) -> node traverse stop
function operator()¶
The documentation for this class was generated from the following file zmbt-framework/zmbt-framework/backends/cxx/include/zmbt/core/json_traverse.hpp