| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
System.Cached.JSON
Documentation
Arguments
| :: (FromJSON a, ToJSON a) | |
| => String | subdirectory/program name |
| -> FilePath | filename |
| -> String | json url |
| -> NominalDiffTime | cache duration (minutes) |
| -> IO a |
If the local cached json file is new enough then use it, otherwise refresh from the remote url.