jmespath.cpp
C++ implementation of JMESPath, a query language for JSON http://jmespath.org
|
The AppendEscapeSequenceAction class is a functor for appending UTF-32 an escape sequence, consisting from a pair of UTF-32 characters, to a UTF-8 encoded strings. More...
#include <appendescapesequenceaction.h>
Public Types | |
using | result_type = void |
The action's result type. More... | |
using | escape_type = std::pair< UnicodeChar, UnicodeChar > |
The type of the escape sequence. More... | |
Public Member Functions | |
result_type | operator() (String &utf8String, escape_type escapeSequence) const |
Append the characters of the escapeSequence to the utf8String encoded in UTF-8. More... | |
The AppendEscapeSequenceAction class is a functor for appending UTF-32 an escape sequence, consisting from a pair of UTF-32 characters, to a UTF-8 encoded strings.
using jmespath::parser::AppendEscapeSequenceAction::escape_type = std::pair<UnicodeChar, UnicodeChar> |
The type of the escape sequence.
The action's result type.
|
inline |
Append the characters of the escapeSequence to the utf8String encoded in UTF-8.
Treat everything as regular characters if the escaped character is not a single quote.
[out] | utf8String | The string where the encoded value of the utf32Char will be appended. |
[in] | escapeSequence | The character of the escape sequence encoded in UTF-32 |