Skip to content

Commit ac890c5

Browse files
committed
1.1.3 release. see CHANGELOG.md
1 parent f781aa6 commit ac890c5

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
CHANGELOG
22
=========
33

4+
## 1.1.3 - *1/26/2021*
5+
6+
- Documentation cleanup.
7+
48
## 1.1.2 - *1/26/2021*
59

610
- Documentation cleanup.

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ JSONlite sandboxes the current working directory similar to SQLite. The JSONlite
99
1. bash
1010
2. uuidgen
1111
3. python -m json.tool
12-
- Alternatively, install [yajl](http://lloyd.github.io/yajl/) for `json_reformat` *or* [jq](https://github.com/stedolan/jq) to get a roughly 3x performance improvement setting documents.
12+
- Alternatively, install [yajl](http://lloyd.github.io/yajl/) for `json_reformat` *or* [jq](https://github.com/stedolan/jq) to get a significant performance improvement setting documents.
1313

14-
`json_reformat` is the fastest of the three. `jq` comes in at a close second and `python -m json.tool` is significantly the slowest. If possible, avoid using `python -m json.tool`.
14+
`json_reformat` is the fastest of the three. `jq` comes in at a reasonable second and `python -m json.tool` is by far the slowest. If possible, avoid using `python -m json.tool`.
1515

1616
## Installation
1717

@@ -124,7 +124,7 @@ Usage: jsonlite command <command-specific-options>
124124
125125
````
126126
➜ jsonlite version
127-
1.1.2
127+
1.1.3
128128
````
129129

130130
### default
@@ -133,7 +133,7 @@ Usage: jsonlite command <command-specific-options>
133133
134134
```
135135
➜ jsonlite
136-
JSONlite 1.1.1
136+
JSONlite 1.1.3
137137
json formatter: json_reformat (fastest)
138138
data directory: /tmp/jsonlite.data
139139

jsonlite.bash

+3-4
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
set -eo pipefail; [[ $TRACE ]] && set -x
2020

21-
readonly VERSION="1.1.2"
21+
readonly VERSION="1.1.3"
2222
export JSONLITE_DATA_DIR=${JSONLITE_DATA_DIR:="$PWD/jsonlite.data"}
2323

2424
jsonlite_version() {
@@ -33,9 +33,8 @@ jsonlite_info() {
3333
elif command -v jq > /dev/null 2>&1; then
3434
echo " json formatter: jq (fast)"
3535
else
36-
echo " [notice] install yajl or jq for improved write performance"
37-
echo
3836
echo " json formatter: python -m json.tool (slowest)"
37+
echo " [notice] install yajl or jq for significantly improved set performance"
3938
fi
4039

4140
echo " data directory: $JSONLITE_DATA_DIR"
@@ -87,7 +86,7 @@ jsonlite_set() {
8786
# use the not-as-fast jq if available
8887
elif command -v jq > /dev/null 2>&1; then
8988
json_document=$(echo "$value" | jq '.')
90-
# fallback to the slowest json.tool
89+
# fallback to the slowest python -m json.tool
9190
else
9291
json_document=$(echo "$value" | python -m json.tool)
9392
fi

0 commit comments

Comments
 (0)