Crow
Crow copied to clipboard
Templated cast function for reading JSON values
I have not tested this code (sorry) but it aims to solve the problem of reading to smaller types like uint32_t and uint16_t. The string stream implementation should throw up warnings where applicable for unsupported types.