Using custom types for scalars? #596
Labels
kind: enhancement/improvement
solution: wontfix
the issue will not be fixed (either it is impossible or deemed out of scope)
I'm serializing some decimal values from database into JSON. In order not to risk loosing precision of database data, I've implemented a C++ class for storing values in fixed decimal form. I'm trying to pass my class as NumberFloatType template parameter to basic_json but it looks like parsing of floating point values is hard coded in lexer::strtof overloads. Are there any "customization points" which could be used to support deserialization of strings into custom basic types like NumberFloatType?
The text was updated successfully, but these errors were encountered: