Huh, that's clever. I would not have thought to do that.
As far as I can tell that only works through some fairly impressive Jython machinery; it's calling the instance method of JsonObject as if it were static because you passed in an instance to use as self, and the first instance you passed only works because it's automatically "unwrapping" the object adapter.
Fascinating.