The JSON library does not support big integers because it internally represents all integers as double values. I've fixed this by introducing a num_type enum and storing the value using a union in json::wvalue. Does it look OK to you? Could it be improved somehow?
The JSON library does not support big integers because it internally represents all integers as double values. I've fixed this by introducing a num_type enum and storing the value using a union in json::wvalue. Does it look OK to you? Could it be improved somehow?