langchain_core.load.dump.dumpd¶

langchain_core.load.dump.dumpd(obj: Any) Any[source]¶

Return a dict representation of an object.

Note

Unfortunately this function is not as efficient as it could be because it first dumps the object to a json string and then loads it back into a dictionary.

Parameters

obj (Any) – The object to dump.

Returns

dictionary that can be serialized to json using json.dumps

Return type

Any