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
I have the class LogHistory::LogEntry (class inside of another class) and LogHistory provides a static getter for an std::vector<LogEntry*>*
All fine and good for normal iterating, but how do i put this thing into a json?
I tried the to_json(json& j, LogEntry& le) conversion method, but i just get "no suitable conversion method found"
Both of these two get underlined red with "no suitable conversion method found"
I need a result like this:
I have the class LogHistory::LogEntry (class inside of another class) and LogHistory provides a static getter for an std::vector<LogEntry*>*
All fine and good for normal iterating, but how do i put this thing into a json?
I tried the to_json(json& j, LogEntry& le) conversion method, but i just get "no suitable conversion method found"
Both of these two get underlined red with "no suitable conversion method found"
I think i may have placed the conversion method in the wrong namespace? Right now it's a static member of LogEntry...
Here is my class structure again for clarity...
Would be very happy if someone could point me in the right direction
The text was updated successfully, but these errors were encountered: