The hslua-aeson package

[Tags:library, mit, test]

Please see README.md


[Skip to Readme]

Properties

Versions 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.3
Dependencies aeson (>=0.11 && <1.2), base (>=4.7 && <5), hashable (==1.2.*), hslua (>=0.4 && <0.6), scientific (==0.3.*), text (>=1.1.1.0 && <1.3), unordered-containers (==0.2.*), vector (>=0.7) [details]
License MIT
Copyright © 2017 Albert Krewinkel
Author Albert Krewinkel
Maintainer tarleb+hslua@zeitkraut.de
Stability Unknown
Category Scripting
Home page https://github.com/tarleb/hslua-aeson#readme
Source repository head: git clone https://github.com/tarleb/hslua-aeson
Uploaded Fri Mar 24 20:03:37 UTC 2017 by tarleb
Distributions NixOS:0.1.0.0
Downloads 63 total (51 in the last 30 days)
Votes
0 []
Status Docs available [build log]
Last success reported on 2017-03-24 [all 1 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for hslua-aeson

Readme for hslua-aeson-0.1.0.3

hslua-aeson

travis build status MIT License

Glue to hslua for aeson values.

This provides a StackValue instance for aeson's Value type. The following conventions are used:

  • Null values are encoded as the special global _NULL. Using Nil would cause problems with null-containing arrays.

  • Objects are converted to tables in a straight-forward way.

  • Arrays are converted to lua tables. Array-length is included as the value at index 0. This makes it possible to distinguish between empty arrays and empty objects.

License

This project is licensed under the liberal MIT license, the same license under which hslua and lua itself are published. See the LICENSE file for details.