packages feed

jsontsv 0.1.4.4 → 0.1.4.5

raw patch · 3 files changed

+10/−2 lines, 3 files

Files

Main.hs view
@@ -153,6 +153,7 @@ evalKeyPath d [] x@(Number _) = x evalKeyPath d [] x@(Bool _) = x evalKeyPath d [] x@(Object _) = x+evalKeyPath d [] x@(Array v) | V.null v = Null evalKeyPath d [] x@(Array v) =            let vs = V.toList v               xs = intersperse d $ map (evalToText d []) vs@@ -167,6 +168,7 @@         Just e' -> evalKeyPath d ks e'         Nothing -> Null -- traverse array elements with additional keys+evalKeyPath d ks@(Key key:_) (Array v) | V.null v = Null evalKeyPath d ks@(Key key:_) (Array v) =        let vs = V.toList v       in String . mconcat . intersperse d $ map (evalToText d ks) vs
README.md view
@@ -178,7 +178,7 @@      curl -s "https://api.github.com/repos/rails/rails/issues" |      jq -M '.[]' | -    jsontsv -H 'number title user.login:login state repository.name:repo labels.name:lables' +    jsontsv -H 'number title user.login:login state repository.name:repo_name'   ## Known alternatives  @@ -190,6 +190,12 @@ * [tsvutils](https://github.com/brendano/tsvutils) utilities for processing tab-separated files  ## Related++* [table](https://github.com/danchoi/table)+* [jsonsql](https://github.com/danchoi/jsonsql)+* [tsvsql](https://github.com/danchoi/tsvsql)++## Further reading  * [Seven command line tools for data   science](http://jeroenjanssens.com/2013/09/19/seven-command-line-tools-for-data-science.html) by Jeroen Janssens.
jsontsv.cabal view
@@ -2,7 +2,7 @@ --  see http://haskell.org/cabal/users-guide/  name:                jsontsv-version:             0.1.4.4+version:             0.1.4.5 synopsis:            JSON to TSV transformer homepage:            https://github.com/danchoi/jsontsv description:         Transforms JSON into tab-separated line-oriented output, for easier processing in Unix-style pipelines.