diff options
author | chriseth <chris@ethereum.org> | 2016-12-02 18:23:45 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-02 18:23:45 +0800 |
commit | 3a01a87afe3468421f31aa5097796dcc88e37e26 (patch) | |
tree | 9069fcc823ca4b27b6add0c7278f1086923eb36e /libdevcore/JSON.h | |
parent | 55a719a79c1ab5b78ea6e1bcb4f27a888494a538 (diff) | |
parent | 5098e1eb15678859d1bd5e9172184d6525e03863 (diff) | |
download | dexon-solidity-3a01a87afe3468421f31aa5097796dcc88e37e26.tar dexon-solidity-3a01a87afe3468421f31aa5097796dcc88e37e26.tar.gz dexon-solidity-3a01a87afe3468421f31aa5097796dcc88e37e26.tar.bz2 dexon-solidity-3a01a87afe3468421f31aa5097796dcc88e37e26.tar.lz dexon-solidity-3a01a87afe3468421f31aa5097796dcc88e37e26.tar.xz dexon-solidity-3a01a87afe3468421f31aa5097796dcc88e37e26.tar.zst dexon-solidity-3a01a87afe3468421f31aa5097796dcc88e37e26.zip |
Merge pull request #1386 from ethereum/metadataOut
Metadata stamp
Diffstat (limited to 'libdevcore/JSON.h')
-rw-r--r-- | libdevcore/JSON.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdevcore/JSON.h b/libdevcore/JSON.h index 7876dfb2..0d6e0d2e 100644 --- a/libdevcore/JSON.h +++ b/libdevcore/JSON.h @@ -28,13 +28,13 @@ namespace dev { /// Serialise the JSON object (@a _input) with identation -std::string jsonPrettyPrint(Json::Value const& _input) +inline std::string jsonPrettyPrint(Json::Value const& _input) { return Json::StyledWriter().write(_input); } /// Serialise theJ SON object (@a _input) without identation -std::string jsonCompactPrint(Json::Value const& _input) +inline std::string jsonCompactPrint(Json::Value const& _input) { Json::FastWriter writer; writer.omitEndingLineFeed(); |