smurfomen / QSerializer

This repo for Qt/C++ serialization objects in JSON or XML based on QtCore
https://smurfomen.github.io/QSerializer/
MIT License
73 stars 27 forks source link

nan parsing problem #16

Open Tentacle-Monster opened 2 years ago

Tentacle-Monster commented 2 years ago

When converting nan QS_FIELD(double,field_name) to json, it writes down 'null'(default QVariant behavior). At the same time, pasrsing 'null' as double, 'includes' variable sets to false, and QS_FIELD(double,field_name) retains zero.