lua-users home
lua-l archive

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


On Wed, Nov 10, 2010 at 01:28, François Perrad <francois.perrad@gadz.org> wrote:
> 2010/11/9 Alexander Gladysh <agladysh@gmail.com>
>> 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.

> Good idea.
> I added a 3rd constructor which uses a single Lua table.

Great, thanks!

Does any one know about SPORE specs for Amazon S3 :-)

Alexander.