Check whether a character should be percent-encoded. ! According to RFC 3986 2.3 Unreserved Characters. \param c The character (code unit) to be tested. */
| 916 | \param c The character (code unit) to be tested. |
| 917 | */ |
| 918 | bool NeedPercentEncode(Ch c) const { |
| 919 | return !((c >= '0' && c <= '9') || (c >= 'A' && c <='Z') || (c >= 'a' && c <= 'z') || c == '-' || c == '.' || c == '_' || c =='~'); |
| 920 | } |
| 921 | |
| 922 | //! Parse a JSON String or its URI fragment representation into tokens. |
| 923 | #ifndef __clang__ // -Wdocumentation |