Main Page
Namespaces
Classes
Package Documentation
Class List
Class Index
Class Hierarchy
Class Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
esMonitoring
JsonEncoder
List of all members
|
Public Member Functions
esMonitoring.JsonEncoder Class Reference
Inheritance diagram for esMonitoring.JsonEncoder:
Public Member Functions
def
default
Detailed Description
Definition at line
19
of file
esMonitoring.py
.
Member Function Documentation
def
esMonitoring.JsonEncoder.default
(
self
,
obj
)
Definition at line
20
of file
esMonitoring.py
.
20
21
def
default
(self, obj):
22
if
hasattr(obj,
'to_json'
):
23
x = obj.to_json()
24
return
json.JSONEncoder.encode(self, x)
25
26
return
json.JSONEncoder.default(self, obj)
esMonitoring.JsonEncoder.default
def default
Definition:
esMonitoring.py:20
Generated for CMSSW Reference Manual by
1.8.5