jmespath.cpp
C++ implementation of JMESPath, a query language for JSON http://jmespath.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Classes | Namespaces | Functions
contextvaluevisitoradaptor.h File Reference
#include "src/interpreter/interpreter.h"
#include "jmespath/exceptions.h"
#include <boost/variant.hpp>
#include <boost/hana.hpp>

Go to the source code of this file.

Classes

class  jmespath::interpreter::ContextValueVisitorAdaptor< VisitorT, ForceMove >
 The ContextValueVisitorAdaptor class adapts a visitor object, which is callable with const lvalue reference of Json and with rvalue reference of Json objects, to ContextValue objects. More...
 

Namespaces

 jmespath
 The top level namespace which contains the public functions of the library.
 
 jmespath::interpreter
 Classes for interpreting the AST of the JMESPath expression.
 

Functions

decltype(auto) jmespath::interpreter::makeVisitor (std::function< void(const Json &)> &&lvalueFunc, std::function< void(Json &&)> &&rvalueFunc)
 Create visitor object which accepts ContextValue objects, and calls lvalueFunc callable with a const lvalue ref of the Json reference held by the ContextValue or calls the rvalueFunc callable with an rvalue ref of the Json object held by ContextValue. More...
 
decltype(auto) jmespath::interpreter::makeMoveOnlyVisitor (std::function< void(Json &&)> rvalueFunc)
 Create visitor object which accepts ContextValue objects, and calls the rvalueFunc callable with an rvalue ref of the Json object held by the ContextValue or calls it with the rvalue ref of the copy of the object to which the Json reference points in the ContextValue object. More...