Special case for 8-bit ints (must output their decimal value, not the corresponding ASCII character)
| 74 | // Special case for 8-bit ints (must output their decimal value, not the |
| 75 | // corresponding ASCII character) |
| 76 | void JSONArrayInternal(std::ostream* ss, int8_t value) { |
| 77 | *ss << static_cast<int16_t>(value); |
| 78 | } |
| 79 | |
| 80 | void JSONArrayInternal(std::ostream* ss, uint8_t value) { |
| 81 | *ss << static_cast<int16_t>(value); |