Safe Haskell | None |
---|---|
Language | Haskell2010 |
- newtype StringlyTypedDouble = StringlyTypedDouble {}
- unStringlyTypeJSON :: Value -> Value
Documentation
newtype StringlyTypedDouble Source #
unStringlyTypeJSON :: Value -> Value Source #
For some reason in several settings APIs, all leaf values get returned as strings. This function attepmts to recover from this for all non-recursive JSON types. If nothing can be done, the value is left alone.