MCPcopy Create free account
hub / github.com/ccxt/ccxt / parse_json

Method parse_json

python/ccxt/base/exchange.py:736–741  ·  view source on GitHub ↗
(self, http_response)

Source from the content-addressed store, hash-verified

734 return response.content
735
736 def parse_json(self, http_response):
737 try:
738 if Exchange.is_json_encoded_object(http_response):
739 return self.on_json_response(http_response)
740 except ValueError: # superclass of JsonDecodeError (python2)
741 pass
742
743 def is_text_response(self, headers):
744 # https://github.com/ccxt/ccxt/issues/5302

Callers 15

fetchMethod · 0.95
fetch_web_endpointMethod · 0.95
fetchMethod · 0.95
fetch_web_endpointMethod · 0.95
parse_transactionMethod · 0.80
create_orderMethod · 0.80
create_ordersMethod · 0.80
parse_orderMethod · 0.80
parse_transactionMethod · 0.80
handle_errorsMethod · 0.80

Calls 2

on_json_responseMethod · 0.95

Tested by

no test coverage detected