lua-users home
lua-l archive

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


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.

Alex