diff --git a/InterfaceHandler.cpp b/InterfaceHandler.cpp index 3b87032bc..fecdb3ece 100644 --- a/InterfaceHandler.cpp +++ b/InterfaceHandler.cpp @@ -165,7 +165,7 @@ void InterfaceHandler::generateUserDocumentation(ContractDefinition& _contractDe } doc["methods"] = methods; - _contractDef.setUserDocumentation(Json::FastWriter().write(doc)); + _contractDef.setUserDocumentation(Json::StyledWriter().write(doc)); } unique_ptr InterfaceHandler::userDocumentation(ContractDefinition const& _contractDef) @@ -239,7 +239,7 @@ void InterfaceHandler::generateDevDocumentation(ContractDefinition& _contractDef } doc["methods"] = methods; - _contractDef.setDevDocumentation(Json::FastWriter().write(doc)); + _contractDef.setDevDocumentation(Json::StyledWriter().write(doc)); } /* -- private -- */