Tool.from_jsonstring

classmethod Tool.from_jsonstring(string)

Construct an object from serialized data contained in a JSON string.

Parameters

string (str) – The object as a JSON string.

Returns

Data – An instance of this object type if the data contained in the JSON file has the correct schema.