aboutsummaryrefslogtreecommitdiffstats
path: root/test/Metadata.cpp
diff options
context:
space:
mode:
authorAlexander Arlt <alexander.arlt@arlt-labs.com>2018-02-07 09:05:20 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-02-21 04:58:26 +0800
commit0f29ac4e563f60be781b31ed9ef2693e1a19dcc8 (patch)
tree888d535ad5698b41f6979622040c3dcce3d300ca /test/Metadata.cpp
parentdcc4083b231e3574a64b5b2a329a7401677610da (diff)
downloaddexon-solidity-0f29ac4e563f60be781b31ed9ef2693e1a19dcc8.tar
dexon-solidity-0f29ac4e563f60be781b31ed9ef2693e1a19dcc8.tar.gz
dexon-solidity-0f29ac4e563f60be781b31ed9ef2693e1a19dcc8.tar.bz2
dexon-solidity-0f29ac4e563f60be781b31ed9ef2693e1a19dcc8.tar.lz
dexon-solidity-0f29ac4e563f60be781b31ed9ef2693e1a19dcc8.tar.xz
dexon-solidity-0f29ac4e563f60be781b31ed9ef2693e1a19dcc8.tar.zst
dexon-solidity-0f29ac4e563f60be781b31ed9ef2693e1a19dcc8.zip
Add new JSON API for better abstraction and for supporting strict JSON parsing
Diffstat (limited to 'test/Metadata.cpp')
-rw-r--r--test/Metadata.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Metadata.cpp b/test/Metadata.cpp
index e4de0a6b..1ebfd468 100644
--- a/test/Metadata.cpp
+++ b/test/Metadata.cpp
@@ -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 (