Add transparent input decompression

This supports gzip and bzip2 by magic number determination.

Trailing whitespace differences in documentation due to opinionated
editor.
This commit is contained in:
kortschak 2014-07-19 12:49:55 +09:30
parent abdd649c82
commit 9bf09a5db5
7 changed files with 100 additions and 72 deletions

View file

@ -14,7 +14,7 @@ Every JSON Object can be thought of as a node in the graph, and wrapping an obje
Is equivalent to all nodes in the graph, where "id" is the special keyword for the value of the node.
Predicates are added to the object to specify constraints.
Predicates are added to the object to specify constraints.
```json
[{
@ -66,7 +66,7 @@ JSON does not specify the behavior of objects with the same key. In order to hav
```json
[{
[{
"id": "A",
"@x:some_predicate": "B",
"@y:some_predicate": "C"