ondrap / json-stream

Incremental applicative JSON Haskell parser
BSD 3-Clause "New" or "Revised" License
58 stars 13 forks source link

Add conduit flag to expose Data.JsonStream.Conduit.parserConduit #32

Closed dylex closed 2 years ago

dylex commented 2 years ago

This adds a simple conduit converter in a new Data.JsonStream.Conduit module as described in #27. To avoid adding more dependencies by default this is guarded beind a cabal flag (default off). This could also be safely enabled by default, or just split off to a separate package (though feels excessive for 5 lines).

ondrap commented 2 years ago

I'm somewhat reluctant because of the dependency, but... that's a nice conversion function.