pub fn default_serializer<T: Serialize>(obj: &T) -> ValueExpand description
Return a default serialized value for an object.
If the object is serializable, returns its JSON representation. Otherwise, returns a SerializedNotImplemented.
ยงArguments
obj- The object to serialize.