Sep-13-2019, 08:49 PM
I recommend against pickle for reasons that are easy to Google. If it were me, I'd probably just add a method to my class called toJson and have a function to produce the class from that JSON. You may also consider jsonpickle.