Replies: 2 comments
-
|
I do agree this would be cool, and I'd be happy to review a pull request. Right now I'm trying to systematically work through all the open issues. So, this isn't a priority right now. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Support added in #2232 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Having support for parsing percent-encoded (URL-encoded) key-value pairs using compile-time reflection in Glaze out of the box would increase its relevance to web back-end development as this format is used for encoding both URL query strings and
POSTrequest bodies (asapplication/x-www-form-urlencoded) sent through HTML forms.Plus, there don’t seem to be many great C++ libraries for parsing percent-encoded key-value pairs anyway. Ada could be a notable exception – but it doesn’t use compile-time reflection, so the DX isn’t particularly great for validating and parsing URL-encoded form data into structs with many fields.
The parsing rules are quite simple, so it should be easy to implement?
Beta Was this translation helpful? Give feedback.
All reactions