Cpp Function Pointer To Class Method Json Parser Javascript Interview