Closed travisjungroth closed 2 years ago
Instead of having the json_type attribute on OfType, just handle it in the to_json function with a dictionary. Create the dictionary outside the function for (minuscule) performance.
Instead of having the json_type attribute on OfType, just handle it in the to_json function with a dictionary. Create the dictionary outside the function for (minuscule) performance.