Main Page
Namespaces
Classes
Package Documentation
Class List
Class Index
Class Hierarchy
Class Members
esMonitoring
JsonEncoder
List of all members
|
Public Member Functions
esMonitoring.JsonEncoder Class Reference
Inheritance diagram for esMonitoring.JsonEncoder:
Public Member Functions
def
default
(self, obj)
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
def
default
(self, obj):
21
if
hasattr(obj,
'to_json'
):
22
return
obj.to_json()
23
24
return
json.JSONEncoder.default(self, obj)
25
esMonitoring.JsonEncoder.default
def default(self, obj)
Definition:
esMonitoring.py:20
Generated for CMSSW Reference Manual by
1.8.11