default#

langchain_core.load.dump.default(obj: Any) Any[source]#

Return a default value for a Serializable object or a SerializedNotImplemented object.

Parameters:

obj (Any) – The object to serialize to json if it is a Serializable object.

Returns:

A json serializable object or a SerializedNotImplemented object.

Return type:

Any