packages feed

json-ast

Universal JSON AST datastructure

view on Hackage

This library provides only a data-type representing the JSON value tree. It is intended to be used as a shared data-type by all kinds of JSON libraries. Same as we have the \"xml-types\" package for libraries dealing with XML. Now, since the \"aeson\" @Value@ has been serving this purpose for years, we've intentionally made this type representationally identical to it, making it possible to convert between them at 0 runtime cost. This means that we can use those types interchangeably, making it possible to gradually migrate. ===Why displace the \"aeson\" @Value@? 1. To boost the competition between JSON libraries. Instead of nudging the community to implement its ideas by patching \"aeson\". After all, competition is the driving force of evolution and hence progress. 2. Due to so much patching already happening to \"aeson\", its loss of focus, some questionable design and strive for backwards compatibility, it's becoming bloated. IOW, it's trying to be "everything JSON" but with no careful design or plan and it's tied by its past. With these restrictions it's impossible for \"aeson\" to ever become a polished library.
versionuploadeduploaderchanges
0.3.22022-10-11 11:57 UTCNikitaVolkov+42/−16 lines, 3 filesdep ~textdep ~vectorsetup-changedPVP: major bump suggested
0.3.12017-04-06 13:42 UTCNikitaVolkov+2/−2 lines, 1 filesdep ~vectorPVP ok
0.32016-04-28 08:11 UTCNikitaVolkov+11/−8 lines, 2 filesPVP ok
0.22016-02-01 05:18 UTCNikitaVolkov+28/−28 lines, 3 filesdep ~basePVP ok
0.12016-01-28 13:13 UTCNikitaVolkov+101/−0 lines, 4 filesdep +basedep +scientificdep +textsetup-changed

Dependencies of json-ast-0.3.2

base >=4.6 && <5 4.22.0.0 → 4.22.1.0
2026-12-01 12:38 UTC4.22.1.0+388/−6 lines, 9 filesdep ~ghc-internalPVP: major bump suggested
2025-12-19 11:52 UTC4.22.0.0+886/−215 lines, 28 filesdep ~ghc-internalPVP ok
2026-03-27 12:26 UTC4.21.2.0+10/−3 lines, 4 filesdep ~ghc-internalPVP ok
2025-12-27 10:31 UTC4.21.1.0+17/−5 lines, 4 filesdep ~ghc-internalPVP ok
2024-12-16 09:24 UTC4.21.0.0+1170/−396 lines, 39 filesdep ~ghc-internalPVP ok

showing 5 of 61 versions

scientific >=0.3 && <0.4 0.3.9.0 → 0.3.10.0
2026-10-21 15:50 UTC0.3.10.0+58/−10 lines, 5 filesPVP ok
2026-09-27 09:36 UTC0.3.9.0+213/−158 lines, 4 filesdep −smallcheckdep −tasty-smallcheckPVP ok
2026-01-05 13:02 UTC0.3.8.1+35/−39 lines, 4 filesdep ~basedep ~containersdep ~template-haskellPVP: major bump suggested
2024-05-14 10:23 UTC0.3.8.0+23/−101 lines, 6 filesdep −bytestring-builderdep ~basedep ~binarydep ~bytestringPVP: major bump suggested
2021-05-20 18:39 UTC0.3.7.0+258/−126 lines, 9 filesdep +invalid-cabal-flag-settingsdep +template-haskelldep −tasty-ant-xmldep ~QuickCheckdep ~basedep ~binarynew-uploaderPVP: major bump suggested

showing 5 of 52 versions

text >=1 && <3 2.1.4 → 2.1.5
2026-11-27 23:30 UTC2.1.5+33786/−32979 lines, 58 filesPVP: major bump suggested
2026-01-28 08:30 UTC2.1.4+30991/−20199 lines, 35 filesdep +template-haskell-liftdep ~QuickCheckdep ~template-haskellPVP ok
2025-08-01 20:08 UTC2.1.3+2107/−1827 lines, 30 filesdep +splitmixdep +temporarydep ~QuickCheckdep ~ghc-primdep ~template-haskellPVP ok
2024-10-26 13:22 UTC2.1.2+43588/−15378 lines, 41 filesdep ~basedep ~binaryPVP: major bump suggested
2024-02-16 22:16 UTC2.1.1+986/−412 lines, 26 filesdep ~QuickCheckdep ~ghc-primdep ~template-haskellPVP: major bump suggested

showing 5 of 83 versions

unordered-containers >=0.2 && <0.3 0.2.21 → 0.2.21.1
2026-11-30 10:13 UTC0.2.21.1+533/−177 lines, 9 filesPVP: major bump suggested
2025-12-13 23:09 UTC0.2.21+3999/−2731 lines, 20 filesdep −mtldep ~basedep ~bytestringdep ~deepseqPVP: major bump suggested
2025-10-02 07:28 UTC0.2.20.1+106/−52 lines, 12 filesPVP: major bump suggested
2024-01-09 06:48 UTC0.2.20+1023/−941 lines, 12 filesdep ~hashabledep ~template-haskellPVP: major bump suggested
2022-04-24 15:48 UTC0.2.19.1+88/−14 lines, 4 filesdep ~basedep ~template-haskellPVP: major bump suggested

showing 5 of 44 versions

vector >=0.10 && <0.14 0.13.1.0 → 0.13.2.0
2024-10-31 18:01 UTC0.13.2.0+5177/−672 lines, 53 filesdep −HUnitdep ~QuickCheckdep ~basedep ~doctestPVP: major bump suggested
2023-10-07 13:35 UTC0.13.1.0+302/−238 lines, 22 filesdep ~QuickCheckdep ~basedep ~doctestnew-uploaderPVP: major bump suggested
2022-06-19 19:35 UTC0.13.0.0+19079/−19259 lines, 70 filesdep +tasty-benchdep +tasty-inspection-testingdep +vector-streamdep −faildep −ghc-primdep −semigroupsdep ~basedep ~doctestdep ~primitivePVP ok
2021-09-21 16:21 UTC0.12.3.1+265/−191 lines, 13 filesdep ~basedep ~deepseqdep ~doctestPVP ok
2021-04-06 19:54 UTC0.12.3.0+1218/−39 lines, 11 filesdep ~basedep ~ghc-primPVP ok

showing 5 of 43 versions

Reverse dependencies

3 packages depend on json-ast; 1 have bounds that exclude 0.3.2

json-ast-quickcheck 0.2 requires json-ast >=0.2 && <0.3 excludes current (upper bound)
aeson-json-ast 0.1.1 requires json-ast >=0.2 && <0.4
json-ast-json-encoder 0.1.1 requires json-ast >=0.3 && <0.4