primitive types
| 26 | { |
| 27 | // primitive types |
| 28 | error_code ReadTrait<bool>::Read(simdjson::ondemand::value&& json, bool& value) |
| 29 | { |
| 30 | auto result = json.get_bool(); |
| 31 | if (result.error() == simdjson::SUCCESS) |
| 32 | value = result.value_unsafe(); |
| 33 | return (error_code)result.error(); |
| 34 | } |
| 35 | error_code ReadTrait<int8_t>::Read(simdjson::ondemand::value&& json, int8_t& value) |
| 36 | { |
| 37 | auto result = json.get_int64(); |
nothing calls this directly
no test coverage detected