hslua-aeson

Allow aeson data types to be used with lua.

https://github.com/tarleb/hslua-aeson#readme

Version on this page:0.3.0.2
LTS Haskell 22.39:2.3.1.1
Stackage Nightly 2024-10-29:2.3.1.1
Latest on Hackage:2.3.1.1

See all snapshots hslua-aeson appears in

MIT licensed by Albert Krewinkel
Maintained by [email protected]
This version can be pinned in stack with:hslua-aeson-0.3.0.2@sha256:877d582b3c4a8a1fa39d8af55620cbebb866deca1d081aa9dada18d8ea7aa87d,2149

Module documentation for 0.3.0.2

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.

Changes

hslua-aeson

v0.3.0

  • Update to hslua 0.8.0.

v0.2.0

  • Update to hslua 0.6.0.

v0.1.0.4

  • Ensure compatibility with hslua 0.5.0.