Closed sdemura closed 5 years ago
objects should be able to be serialized into JSON for easier parsing/automation.
@sdemura objects can dump as python-primitives, use to_dict method for this:
to_dict
data = obj.to_dict() # convert to JSON if needed json.dumps(data)
I added this example to documentation, thanks!
https://devopshq.github.io/teamcity/api-usage.html#save-as-dict
objects should be able to be serialized into JSON for easier parsing/automation.