Include language field in the JSON

This commit is contained in:
Alex Beregszaszi 2017-02-08 19:00:07 +00:00
parent 10d3a591d4
commit 749db7608b

View File

@ -69,6 +69,8 @@ Input Description
.. code-block:: none
{
// Required: Source code language, such as "Solidity", "serpent", "lll", "assembly", etc.
language: "Solidity",
// Required
sources:
{
@ -205,6 +207,7 @@ Output Description
// This contains the contract-level outputs. It can be limited/filtered by the outputSelection settings.
contracts: {
"sourceFile.sol": {
// If the language used has no contract names, this field should equal to an empty string.
"ContractName": {
// The Ethereum Contract ABI. If empty, it is represented as an empty array.
// See https://github.com/ethereum/wiki/wiki/Ethereum-Contract-ABI