[idl_parser, JSON] Disable parsing of JSON for incomplete schemes (#6493)
authorVladimir Glavnyy <31897320+vglavnyy@users.noreply.github.com>
Mon, 1 Mar 2021 21:40:58 +0000 (04:40 +0700)
committerGitHub <noreply@github.com>
Mon, 1 Mar 2021 21:40:58 +0000 (13:40 -0800)
commit5319dedb1a6480c2e9b7f6bcdb32549ab723493b
tree256ae166074a22f77ba31f60ec14583d6705fb0e
parentbd4e0b30a7301b0fc134f10ea1bd618922b60a5c
[idl_parser, JSON] Disable parsing of JSON for incomplete schemes (#6493)

This commit disable JSON parsing for an incomplete scheme if JSON object is embedded into one file with the scheme.
This should improve the quality of OSS-Fuzz inputs for the parser_fuzzer target.
src/idl_parser.cpp