@@ -9,10 +9,10 @@ import Twitter.Manual
9import Typed.Common
9import Typed.Common
11encodeDirect :: Result -> L.ByteString
11encodeDirect :: Result -> L.ByteString
12−encodeDirect = B.toLazyByteString . fromEncoding . toEncoding
12+encodeDirect = encode
14encodeViaValue :: Result -> L.ByteString
14encodeViaValue :: Result -> L.ByteString
15−encodeViaValue = encode
15+encodeViaValue = encode . toJSON
17benchmarks :: Benchmark
17benchmarks :: Benchmark
18benchmarks =
18benchmarks =