mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Added createJson method to make writing json easier
This commit is contained in:
committed by
Alex Beregszaszi
parent
8bb96eaaf5
commit
1a9c503e93
@@ -81,6 +81,11 @@ private:
|
||||
/// @arg _data to be written
|
||||
void createFile(std::string const& _fileName, std::string const& _data);
|
||||
|
||||
/// Create a json file in the given directory
|
||||
/// @arg _fileName the name of the file (the extension will be replaced with .json)
|
||||
/// @arg _json to be written
|
||||
void createJson(std::string const& _fileName, Json::Value const& _json);
|
||||
|
||||
bool m_error = false; ///< If true, some error occurred.
|
||||
|
||||
bool m_onlyAssemble = false;
|
||||
|
||||
Reference in New Issue
Block a user