Cpp While Loop Syntax Jsonlint Parser Json