package query-json

  1. Overview
  2. Docs
Faster, simpler and more portable implementation of `jq` in OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

query-json-0.6.1.tbz
sha256=0683e9ef60e0fddaec121b6d141dfc5ac90e321774573db9b2085e25b468f514
sha512=942552e512f927270094593d0004cc2a62bafb1d99b228e096f1a7157b49fff7ef011120ba99214cf23438abd93ae2b1feb77743a53ec15029f3d8fd32ad5ae8

doc/src/query-json.core/Formatting.ml.html

Source file Formatting.ml

1
2
3
4
let indent n = String.make (n * 2) ' '
let enter n = String.make n '\n'
let double_quotes str = "\"" ^ str ^ "\""
let single_quotes str = "'" ^ str ^ "'"