MCPcopy Create free account
hub / github.com/apache/cloudstack / process_json

Function process_json

tools/ngui/requester.py:104–110  ·  view source on GitHub ↗
(response)

Source from the content-addressed store, hash-verified

102 return response, error
103
104 def process_json(response):
105 try:
106 response = json.loads(str(response))
107 except ValueError, e:
108 error = "Error processing json response, %s" % e
109 logger_debug(logger, "Error processing json", e)
110 return response
111
112 response = process_json(response)
113 if response is None:

Callers 1

monkeyrequestFunction · 0.85

Calls 1

logger_debugFunction · 0.85

Tested by

no test coverage detected