toeb / cmakepp

An Enhancement Suite for the CMake Build System
Other
435 stars 37 forks source link

serialialization of false values is wrong #20

Closed toeb closed 10 years ago

toeb commented 10 years ago

curretnly all values which evaluate to false will turn up missing after json_serialize values should only be missing iff they are really empty "" instread the following will also be missing: NOTFOUND 0 NO "" etc....

Maybe a undefined value should be introduced (or NOTFOUND should a special meaning) that way "" would also be serialized