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_type
anddanielaparker_jsoncons::array_type
inherit fromjsoncons::json::object
andjsoncons::json::array
respectively. Rather, I'd define classesdanielaparker_jsoncons::object_type
anddanielaparker_jsoncons::array_type
with the interface that I wanted, have them hold a pointer to ajsoncons::json
, and implement thedanielaparker_jsoncons::object_type
anddanielaparker_jsoncons::array_type
typedefs and functions by delegating to thejsoncons::json
.