|
jmespath.cpp
C++ implementation of JMESPath, a query language for JSON http://jmespath.org
|
The Parser class parses expressions with the specified grammar. More...
#include <parser.h>
Public Types | |
| using | IteratorType = UnicodeIteratorAdaptor |
| Iterator type which will be used to instantiate the grammar. More... | |
| using | GrammarType = T< IteratorType, encoding::space_type > |
| The type of the grammar that will be instantiated. More... | |
| using | ResultType = typename GrammarType::start_type::attr_type |
| The type of the result of parsing. More... | |
Public Member Functions | |
| ResultType | parse (const String &expression) |
| Parses the given expression. More... | |
Private Attributes | |
| GrammarType | m_grammar |
| Grammar object used for parsing. More... | |
The Parser class parses expressions with the specified grammar.
| T | Grammar type to use for parsing |
| using jmespath::parser::Parser< T >::GrammarType = T<IteratorType, encoding::space_type> |
The type of the grammar that will be instantiated.
| using jmespath::parser::Parser< T >::IteratorType = UnicodeIteratorAdaptor |
Iterator type which will be used to instantiate the grammar.
| using jmespath::parser::Parser< T >::ResultType = typename GrammarType::start_type::attr_type |
The type of the result of parsing.
|
inline |
Parses the given expression.
| [in] | expression | JMESPath search expression encoded in UTF-8 |
| SyntaxError |
|
private |
Grammar object used for parsing.
1.8.6