If you're building a website, in Python/Django, you pass in your request handler function using first class functions. In java, you inherit from the request handler class, and override the method.
JsonTools loads and dumps are pure functions. In java, josn.org, there's a class for each JSON type that you interact with.
That being said, I can also think of many Python libraries that use classes.