lua.box2d.joint.info
info = joint:info()
This returns the def table used to create the joint along with as much updated information as we have available, mostly intended as a debugging aid.
This is the actual def table (some values are hard to query later) so if you edit it or if you create this object using a non unique def table things can get strange.