hw-json-simd

Please see the README on GitHub at https://github.com/haskell-works/hw-json-simd#readme


Keywords
data, library, program, Propose Tags , https://github.com/haskell-works/hw-json-simd#readme, Skip to Readme, Index, Quick Jump, HaskellWorks.Data.Json.Simd.Capabilities, HaskellWorks.Data.Json.Simd.Index.Simple, HaskellWorks.Data.Json.Simd.Index.Standard, HaskellWorks.Data.Json.Simd.Internal.Foreign, HaskellWorks.Data.Json.Simd.Internal.Index.Simple, HaskellWorks.Data.Json.Simd.Internal.Index.Standard, HaskellWorks.Data.Json.Simd.Internal.List, More info, hw-json-simd-0.1.1.2.tar.gz, browse, Package description, package maintainers, edit package information , 0.1.0.0, 0.1.0.1, Semi-Indexing Semi-Structured Data in Tiny Space, hw-json project
License
BSD-3-Clause
Install
cabal install hw-json-simd-0.1.1.2

Documentation

hw-json-simd

This library/tool will generate semi-indexes on JSON files as per the paper: Semi-Indexing Semi-Structured Data in Tiny Space.

The command line tool

For a given JSON file, hw-json-simd will generate two semi-index files, which both together can be loaded into a single in-memory semi-index.

The semi-index files can be generated using two methods, which will be called standard and simple, which correspond to sections 4 and 5 of the Semi-Indexing Semi-Structured Data in Tiny Space paper respectively.

Navigation of the JSON text using the standard index is suppored by the hw-json project for more information. There is currently no support for navigation of the JSON text using the simple index.

Using on the command line

cat test.json | pv -t -e -b -a | time hw-json-simd create-index \
  -i /dev/stdin
  --output-ib-file test.json.ib.idx
  --output-bp-file test.json.bp.idx
  --method standard
cat test.json | pv -t -e -b -a | time hw-json-simd create-index \
  -i /dev/stdin
  --output-ib-file test.json.ib.idx
  --output-bp-file test.json.bp.idx
  --method simple

Installation

From hackage

cabal new-install hw-json-simd