I have a class that I'll be instantiating a lot from lines of JSON. Something like: class Something: def __init__(self, json): #load all self variables from simplejson.loads(json) here print self.some_variable_loaded_from_json I'd like this to be as efficient as possible because this class is loaded hundreds of times a second. I know I can do a for loop with key/value pairs in the dictionary generated from simplejson, but if there's a way to have simplejson just load directly to class variables without that O(n) overhead, that would be awesome. Continue reading...