mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add new JSON API for better abstraction and for supporting strict JSON parsing
This commit is contained in:
1 parent
dcc4083b23
commit
0f29ac4e56
15 files changed
+337
-53
No files matched your search
+1
-1
@@ -50,7 +50,7 @@ string bytecodeSansMetadata(string const& _bytecode)
|
||||
bool isValidMetadata(string const& _metadata)
|
||||
{
|
||||
Json::Value metadata;
|
||||
if (!Json::Reader().parse(_metadata, metadata, false))
|
||||
if (!jsonParseStrict(_metadata, metadata))
|
||||
return false;
|
||||
|
||||
if (
|
||||
|
||||
Reference in new issue
Block a user