aboutsummaryrefslogtreecommitdiffstats
path: root/InterfaceHandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'InterfaceHandler.cpp')
-rw-r--r--InterfaceHandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/InterfaceHandler.cpp b/InterfaceHandler.cpp
index 3b87032b..fecdb3ec 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<string> 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 -- */