Closed guycook closed 1 year ago
Hi and thank you for your interest in json_struct. There was an error in a lookup table, making the end of token be the ] and not the e. Its fixed in the latest commit.
Thanks for the quick resolution, can confirm this fixes the problem in my project as well as the test case. json_struct has been great so far, cheers!
On MSVC, I'm unable parse fields like
"member": [true]
to a typestd::tuple<bool> member
. A minimal example is belowOutput:
I'm not sure what the cause here is, all I can say from current investigation is that single item tuples of other basic types (number/string) still work, and tuples involving bools + other types work, e.g.
std::tuple<bool, int>
will parse fine if given[true, 2]