uproot.serialization.serialize_object_any

Defined in uproot.serialization on line 83.

uproot.serialization.serialize_object_any(model, name=None)
Parameters:
  • model (uproot.Model) – Object to serialize.

  • name (str or None) – If not None, overrides the object’s name.

Serializes the object in a form that could be read by uproot.deserialization.read_object_any.