Cpp Function Pointer To Class Method Json