bloodhound-0.19.0.0: Elasticsearch client library for Haskell
Safe HaskellNone
LanguageHaskell2010

Database.Bloodhound.Internal.StringlyTyped

Synopsis

Documentation

unStringlyTypeJSON :: Value -> Value Source #

For some reason in several settings APIs, all leaf values get returned as strings. This function attempts to recover from this for all non-recursive JSON types. If nothing can be done, the value is left alone.