diff --git a/mutalyzer/services/json.py b/mutalyzer/services/json.py index c7f89cdf6eecdbeffdc014e6db64dc2a0504e165..de28cb83b82ae683247a6f149b0c083d8f754760 100644 --- a/mutalyzer/services/json.py +++ b/mutalyzer/services/json.py @@ -12,7 +12,10 @@ from mutalyzer.services import rpc # HTTP/RPC application. +# Output JSON can be made more consise by specifying skip_depth=2 in the +# JsonObject constructor, but to match the API documentation better (and hence +# have more predictable behaviour) we leave it out. application = Application([rpc.MutalyzerService], tns=mutalyzer.SOAP_NAMESPACE, in_protocol=HttpRpc(), - out_protocol=JsonObject(skip_depth=2), + out_protocol=JsonObject(), name='Mutalyzer')