Skip to content

How to use glaze to create a polymorphic object parser? #599

Answered by stephenberry
KROIA asked this question in Q&A
Discussion options

You must be logged in to vote

@KROIA, you can also look at the glz::json_t generic type, which acts like your JsonArray and JsonObject. See generic-json

This comes with significant overhead, but will probably still be faster than QT's JSON, which has been benchmarked and is even slower than nlohmann JSON.

Replies: 2 comments 16 replies

Comment options

You must be logged in to vote
6 replies
@justend29
Comment options

@stephenberry
Comment options

@justend29
Comment options

@stephenberry
Comment options

@KROIA
Comment options

Comment options

You must be logged in to vote
10 replies
@KROIA
Comment options

@stephenberry
Comment options

@KROIA
Comment options

@stephenberry
Comment options

Answer selected by KROIA
@KROIA
Comment options

@justend29
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants