Cpp While Loop Syntax Json Editor