Skip to content
This repository has been archived by the owner on Dec 29, 2021. It is now read-only.
/ hslua-aeson Public archive

Instances to push and receive Aeson's Value type to and from the Lua stack. Code moved to folder hslua-aeson in repo https://github.com/hslua/hslua.

License

Notifications You must be signed in to change notification settings

hslua/hslua-aeson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hslua-aeson

MIT License

Pushes and retrieves aeson Values to and from the Lua stack.

  • Null values are encoded as a special value (stored in the registry field HSLUA_AESON_NULL).

  • Objects are converted to string-indexed tables.

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

  • JSON numbers are converted to Lua numbers (usually doubles).

License

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

About

Instances to push and receive Aeson's Value type to and from the Lua stack. Code moved to folder hslua-aeson in repo https://github.com/hslua/hslua.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published