Can I use the “glaze” library without using “struct”? #1033
-
I need to use it independently of “struct” |
Beta Was this translation helpful? Give feedback.
Answered by
stephenberry
May 27, 2024
Replies: 1 comment 13 replies
-
Certainly, you can use it with the standard template library or similar containers, or you can write custom serialization, or you can define custom interfaces using Or, if you need completely generic JSON where you know nothing about the data being read, you can use json_t |
Beta Was this translation helpful? Give feedback.
13 replies
Answer selected by
meftunca
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Certainly, you can use it with the standard template library or similar containers, or you can write custom serialization, or you can define custom interfaces using
glz::custom
for your class member functions (see README).Or, if you need completely generic JSON where you know nothing about the data being read, you can use json_t