I use boost c++ to read/write .json file. The problem here is boost will automatically escape (convert) to string type. Therefore, if I create a json object with integer and boolean type, all of us will come string type in .json file.
I use Validator validator(Validator::kWeakTypes) to face with integer type but it still doesn't work with boolean type.
I use boost c++ to read/write .json file. The problem here is boost will automatically escape (convert) to string type. Therefore, if I create a json object with integer and boolean type, all of us will come string type in .json file. I use Validator validator(Validator::kWeakTypes) to face with integer type but it still doesn't work with boolean type.
How can I resolve it?