set_name Method
Sets a new name for the element specified by XPath.
Syntax
def set_name(name: str) -> None: ...
Remarks
This method sets a new name for the element specified in x_path. This is used to modify an existing JSON document.
The Name parameter specifies the new name of the element.
See save for details.