ATLAS Offline Software
Public Member Functions | List of all members
python.TriggerAPI.SerializeAPI.TriggerAPIEncoder Class Reference
Inheritance diagram for python.TriggerAPI.SerializeAPI.TriggerAPIEncoder:
Collaboration diagram for python.TriggerAPI.SerializeAPI.TriggerAPIEncoder:

Public Member Functions

def default (self, obj)
 

Detailed Description

Definition at line 80 of file SerializeAPI.py.

Member Function Documentation

◆ default()

def python.TriggerAPI.SerializeAPI.TriggerAPIEncoder.default (   self,
  obj 
)

Definition at line 81 of file SerializeAPI.py.

81  def default(self, obj):
82  if hasattr(obj,'toJSON'):
83  return obj.toJSON()
84  else:
85  return json.JSONEncoder.default(self, obj)

The documentation for this class was generated from the following file:
python.CaloScaleNoiseConfig.default
default
Definition: CaloScaleNoiseConfig.py:79