api change #602
-
|
Hello, The internals of jsocons have changed, any suggestion on how to solve this error? P.S. Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
I think if I were the author of jwt-cpp, I wouldn't have the types |
Beta Was this translation helpful? Give feedback.
I think if I were the author of jwt-cpp, I wouldn't have the types
danielaparker_jsoncons::object_typeanddanielaparker_jsoncons::array_typeinherit fromjsoncons::json::objectandjsoncons::json::arrayrespectively. Rather, I'd define classesdanielaparker_jsoncons::object_typeanddanielaparker_jsoncons::array_typewith the interface that I wanted, have them hold a pointer to ajsoncons::json, and implement thedanielaparker_jsoncons::object_typeanddanielaparker_jsoncons::array_typetypedefs and functions by delegating to thejsoncons::json.