JSON parser with dynamic module feature
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bench
image
test
.gitignore
Makefile
README.md
parson-core.c
parson.c
parson.el
parson.h

README.md

parson

Binding of parson JSON parser.

Requirement

This package uses Emacs 25 dynamic module feature.

API

(parson-parse string)

Parse JSON string string and return Emacs Lisp object.

(parson-stringify object)

Encode object into JSON.

Benchmark(parson vs json.el standard library)

  • Y-axis means second.
  • Lower is better

Benchmark code is under bench/.

Encoding scalar 100,000 times

encoding-scalar

Encoding 5 elements list 100,000 times

encoding-list

Encoding complex object 10,000 times

encoding-object

Decoding empty list 100,000 times

encoding-list

Decoding empty object 100,000 times

encoding-object

License

  • This software is released under the GPLv3.
  • parson is released under the MIT License