Replies: 1 comment
-
Have you looked at https://json.nlohmann.me/features/arbitrary_types/ ? |
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
-
i become data json, i have no idea about datatype at compiler time
i must to convert to typedef struct or union maybe nested structure at runtime
{
"type":"struct"
"name:"MyStruct"
"struct": {
"var1":"int",
"var2":float;
"var3":"double"
}
}
convert AT RUNTIME to
typedef struct {
var1:int;
var2:float;
var3:double }MyStruct`
Beta Was this translation helpful? Give feedback.
All reactions