ssadler / aeson-quick Goto Github PK
View Code? Open in Web Editor NEWHaskell library for quick JSON extractions with Aeson
License: Other
Haskell library for quick JSON extractions with Aeson
License: Other
Fyi, the following happens w/ GHC 7.4
You can either set a tigher bound base >= 4.6
or try to depend on ghc-prim >= 0.2
and see whether aeson-quick
still works if you want to support (the rather old) GHC 7.4.
Configuring component lib from aeson-quick-0.1.1.1...
Preprocessing library aeson-quick-0.1.1.1...
Data/Aeson/Quick.hs:32:8:
Could not find module `GHC.Generics'
It is a member of the hidden package `ghc-prim'.
Perhaps you need to add `ghc-prim' to the build-depends in your .cabal file.
Use -v to see a list of the files searched for.
Hey Scott,
I haven't seen your around the community in awhile. I know you may have moved on to other things, but you should still come say hi!
Shoot me a message on Riot or something when you get a chance.
Peace
This is not stable between releases of unordered-containers
: cabal v2-test --constraint 'unordered-containers >= 0.2.16'
yields the following:
Running 1 test suites...
Test suite aeson-quick-test: RUNNING...
Tests
oneKey
get: OK
set: OK
multipleKeys
get: OK
set: FAIL
test/Test.hs:161:
expected: "{\"a\":2,\"b\":[1,1]}"
but got: "{\"b\":[1,1],\"a\":2}"
Use -p '/multipleKeys.set/' to rerun this test only.
deepKey
get: OK
set: OK
keyInArray
get: OK
set: OK
complex
get: OK
set: FAIL
test/Test.hs:161:
expected: "{\"a\":2,\"b\":[{\"a\":[1]}]}"
but got: "{\"b\":[{\"a\":[1]}],\"a\":2}"
Use -p '/complex.set/' to rerun this test only.
optionalKey
get: OK
nonExistentKey
get: OK
set: OK
setDeep: OK
setDeepArray: OK
setDeepMany: OK
asLens
get: SKIPPED OK
getDoesNotExist: OK
set: FAIL
test/Test.hs:161:
expected: "{\"a\":2,\"b\":1}"
but got: "{\"b\":1,\"a\":2}"
Use -p '/asLens.set/' to rerun this test only.
parseInvalid
noKey: OK
showStructure
all: OK
quotedKey
chars: OK
3 out of 22 tests failed (0.00s)
Test suite aeson-quick-test: FAIL
Test suite logged to: dist/test/aeson-quick-0.1.3-aeson-quick-test.log
0 of 1 test suites (0 of 1 test cases) passed.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.