name: cached-json-file version: 0.1.0 synopsis: Locally cache a json file obtained by http description: A small library for caching a slow-changing remote json file in a specified directory (under "~\/.cache\/"). When the json is requested and the cache file is still fresh enough it is read directly from the local cache, otherwise the cached file is refreshed first. license: BSD3 license-file: LICENSE author: Jens Petersen maintainer: Jens Petersen copyright: 2021 Jens Petersen category: Network homepage: https://github.com/juhp/cached-json-file bug-reports: https://github.com/juhp/cached-json-file/issues build-type: Simple extra-doc-files: README.md ChangeLog.md cabal-version: 2.0 tested-with: GHC == 8.2.2, GHC == 8.4.4, GHC == 8.6.5, GHC == 8.8.4, GHC == 8.10.4, GHC == 9.0.1 source-repository head type: git location: https://github.com/juhp/cached-json-file.git library build-depends: base < 5, aeson, bytestring, directory, filepath, http-query, time, xdg-basedir default-language: Haskell2010 exposed-modules: System.Cached.JSON hs-source-dirs: src ghc-options: -Wall if impl(ghc >= 8.0) ghc-options: -Wcompat -Widentities -Wincomplete-uni-patterns -Wincomplete-record-updates -Wredundant-constraints if impl(ghc >= 8.2) ghc-options: -fhide-source-paths if impl(ghc >= 8.4) ghc-options: -Wmissing-export-lists -Wpartial-fields if impl(ghc >= 8.10) ghc-options: -Wunused-packages