Stiffstream / json_dto

A small header-only library for converting data between json representation and c++ structs
BSD 3-Clause "New" or "Revised" License
149 stars 18 forks source link

std::int8_t and std::uint8_t numeric field types are not supported. #18

Closed GMezWheel closed 2 years ago

GMezWheel commented 2 years ago

Why std::int8_t and std::uint8_t numeric field types are not supported ?

I can add missing read/write_json_value functions into pub.hpp but is it the good solution ?

eao197 commented 2 years ago

Hi!

Why std::int8_t and std::uint8_t numeric field types are not supported ?

Maybe because json-dto contains the functionality we needed or asked for. We didn't need support for int8/uint8 and nobody asked us until now.

I made some changes to json-dto in issue-18 branch. I'll check them on Windows later today, and if everything will be fine then a new update of json-dto will be released.

GMezWheel commented 2 years ago

Thanks, @eao197