Element.to_json#

Element.to_json(depth=-1, **kwargs)#

Returns a JSON representation of the object.

Parameters:

depth (int)

Return type:

str