lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Tue, Nov 9, 2010 at 20:35, A.S. Bradbury <asb@asbradbury.org> wrote:
> On 9 November 2010 16:25, Alexander Gladysh <agladysh@gmail.com> wrote:
>> On Tue, Nov 9, 2010 at 18:58, François Perrad <francois.perrad@gadz.org> wrote:
>>> Currently, I work on a generic ReST client, where the API is described by a
>>> JSON file.
>>> See http://github.com/fperrad/lua-Spore &
>>> http://lumberjaph.net/misc/2010/09/17/spore.html

>> Why JSON when you can use Lua tables?

> So you can have a single spec.json which can easily be interpreted by
> similar generic REST libraries for Perl, Python, Ruby etc.

Cool, but what's happened with "you don't pay for what you don't use"?

I'd prefer to have pure Lua initialization interface and then some
adaptor to understand standard JSON format.

But, anyway, sorry for ranting. François, thank you for making this
library for the community!

Alexander.