]> Git — Sourcephile - gargantext.git/blob - bin/gargantext-cbor2json/Main.hs
[VERSION] +1 to 0.0.5.6.3
[gargantext.git] / bin / gargantext-cbor2json / Main.hs
1
2 import System.Environment (getArgs)
3 import Prelude (IO, id, (.), ($))
4 import Data.Aeson (encode)
5 import Codec.Serialise (deserialise)
6 import qualified Data.ByteString.Lazy as L
7 import Gargantext.Core.NodeStory (NodeListStory)
8
9 main :: IO ()
10 main = L.interact (encode . (id :: NodeListStory -> NodeListStory) . deserialise)