Skip to content

Is it possible to provide serialization and deserialization of single file header c++ structs (classes) #213

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

You must be logged in to vote

While we could have automatic serialization to glz::array from plain old data type structs, we are looking forward to reflection where we would prefer C++ structs to be handled as objects. So, it seems like the best path forward is to require the user to use glz::array in glz::meta explicitly.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@romanholidaypancakes
Comment options

@mwalcott3
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by stephenberry
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