# tigris **Repository Path**: mirrors_dakrone/tigris ## Basic Information - **Project Name**: tigris - **Description**: Stream-to-stream JSON string escaping - **Primary Language**: Unknown - **License**: EPL-1.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-07-17 - **Last Updated**: 2026-05-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Tigris Tigris provides a stream for escaping json strings as they're being read from a different stream. So stream-to-stream string encoding. Only a single string though. It's pretty narrow-use. It's written in Java with a tiny Clojure wrapper because the [Clojure version](https://gist.github.com/dakrone/5577106) is pretty complicated (and buggy!). And because testing Java sucks. ## Usage In project.clj ```clojure [tigris "0.1.2"] ``` Tigris provides one method: `str-escaping-input-stream`. ```clojure (ns myns.foo (:require [clojure.java.io :refer :all] [tigris.core :refer :all])) (def f (input-stream (file "/tmp/largestring.txt"))) (def json-stream (str-escaping-input-stream f)) (slurp json-stream) ... ``` ## License Copyright © 2013 Matthew Lee Hinman Distributed under the Eclipse Public License, the same as Clojure.