Add new JSON API for better abstraction and for supporting strict JSON parsing

This commit is contained in:
Alexander Arlt authored and Alex Beregszaszi committed 2018-02-20 21:58:26 +01:00
1 parent dcc4083b23
commit 0f29ac4e56
15 files changed
+337 -53

No files matched your search

+1 -1
View File
@@ -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 (