You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the code from the develop branch. I get the error "could not find from_json() method in T's namespace" even when the functions are declared and implemented.
MeaningType is an enum.
This struct declaration occurs inside the header file of a class as a public member.
I tried define the methods in a class as well and I get the same error. I'm using Xcode 9.1.
The text was updated successfully, but these errors were encountered:
Those methods MUST be in your type's namespace (which can be the global namespace), or the library will not be able to locate them (in this example, they are in namespace ns, where person is defined).
They must be free functions in the namespace of your class/struct, not class members.
Using the code from the develop branch. I get the error "could not find from_json() method in T's namespace" even when the functions are declared and implemented.
Here's an example:
the error occurs on this line:
vector<Serial::serial_chunk> chunks = curr["serialChunks"].get<vector<Serial::serial_chunk>>();
the struct is:
MeaningType is an enum.
This struct declaration occurs inside the header file of a class as a public member.
I tried define the methods in a class as well and I get the same error. I'm using Xcode 9.1.
The text was updated successfully, but these errors were encountered: