Closed ma1ko closed 8 years ago
The following JSON
{ "test" : 1.1 }
will generate this structure:
data TopLevel = TopLevel { topLevelTest :: Int } deriving (Show,Eq,Generic)
The Double value will be silently round down to Int.
The following JSON
will generate this structure:
The Double value will be silently round down to Int.