Utils::JsonWrapper should allow integer overloading to float
It can be a bit confusing to get an error when one attempts to interpret an integer ni e.g. configuration file as a float. Probably JsonWrapper is being too strict here.
Updated by Rogers, Chris over 8 years ago
Implemented in rogers/1413 branch, will put it through test. We now allow (JsonWrapper):
- Uint -> int
- Uint, int -> real
- anything -> anyType
- anyType -> anything
Note 1-3 are guaranteed to be safe, 4 may make a Json error (which results in a dump). Maybe I should disallow 4?