aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/interface/StandardCompiler.cpp
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-05-02 23:47:14 +0800
committerGitHub <noreply@github.com>2017-05-02 23:47:14 +0800
commitc09f071ff693f52a2a1434cfd6963b2d1818776e (patch)
treeae903de41b1d063a046951090de4b2562e44b0a8 /libsolidity/interface/StandardCompiler.cpp
parentacab525fefe37f2c02478c79399d5c79e211434e (diff)
parented3ab3506a8acb83bda9477f733d2cb07125a74a (diff)
downloaddexon-solidity-c09f071ff693f52a2a1434cfd6963b2d1818776e.tar.gz
dexon-solidity-c09f071ff693f52a2a1434cfd6963b2d1818776e.tar.zst
dexon-solidity-c09f071ff693f52a2a1434cfd6963b2d1818776e.zip
Merge pull request #2211 from ethereum/jsonio-fixes
Follow the JSON I/O spec closely
Diffstat (limited to 'libsolidity/interface/StandardCompiler.cpp')
-rw-r--r--libsolidity/interface/StandardCompiler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libsolidity/interface/StandardCompiler.cpp b/libsolidity/interface/StandardCompiler.cpp
index db0cbd16..223cc15d 100644
--- a/libsolidity/interface/StandardCompiler.cpp
+++ b/libsolidity/interface/StandardCompiler.cpp
@@ -391,10 +391,10 @@ Json::Value StandardCompiler::compileInternal(Json::Value const& _input)
// ABI, documentation and metadata
Json::Value contractData(Json::objectValue);
- contractData["abi"] = dev::jsonCompactPrint(m_compilerStack.metadata(contractName, DocumentationType::ABIInterface));
+ contractData["abi"] = m_compilerStack.metadata(contractName, DocumentationType::ABIInterface);
contractData["metadata"] = m_compilerStack.onChainMetadata(contractName);
- contractData["userdoc"] = dev::jsonCompactPrint(m_compilerStack.metadata(contractName, DocumentationType::NatspecUser));
- contractData["devdoc"] = dev::jsonCompactPrint(m_compilerStack.metadata(contractName, DocumentationType::NatspecDev));
+ contractData["userdoc"] = m_compilerStack.metadata(contractName, DocumentationType::NatspecUser);
+ contractData["devdoc"] = m_compilerStack.metadata(contractName, DocumentationType::NatspecDev);
// EVM
Json::Value evmData(Json::objectValue);