[Seaside] Re: Standalone JSON Package

Udo Schneider udo.schneider at homeaddress.de
Mon Aug 22 11:32:26 UTC 2011


Thanks for all the answers. I just checked the JSON package and it works 
w/o any dependencies.

Is it valid to say, that the JSON support in Javascript-Core should only 
be used from/by seaside packages then?

Best Regards,

Udo


On 22.08.11 13:26, Lukas Renggli wrote:
> Sorry, wrong link. This is the correct one:
> http://www.squeaksource.com/JSON.html.
>
> On 22 August 2011 13:26, Lukas Renggli<renggli at gmail.com>  wrote:
>> Yes, that's the one originally coming from here
>> <http://www.crockford.com/JSON/index.html>.
>>
>> Lukas
>>
>> On 22 August 2011 13:18, John McKeon<p3anoman at gmail.com>  wrote:
>>> Don't forget the JSON package in your omnibrowser repo for OBWeb. It looks
>>> like it stands without any dependancies.
>>> Joh
>>>
>>> On Mon, Aug 22, 2011 at 7:04 AM, Lukas Renggli<renggli at gmail.com>  wrote:
>>>>
>>>> I don't think that the JSON parser class has any real dependencies, so
>>>> you could just move it to your code.
>>>>
>>>> Also there is a JSON parser that uses PetitParser (the package
>>>> PetitJson in http://source.lukas-renggli.ch/petit). It requires the
>>>> package PetitParser as a dependency though. If I remember correctly it
>>>> is polymorphic to the JSON parser in Seaside and it passes the same
>>>> tests.
>>>>
>>>> Also  you find (several) implementations of JSON parsers on SqueakSource.
>>>>
>>>> Lukas
>>>>
>>>> On 22 August 2011 12:19, Udo Schneider<udo.schneider at homeaddress.de>
>>>> wrote:
>>>>> All,
>>>>>
>>>>> what's the best option for a stand-alone JSON package w/o Seaside
>>>>> dependency.
>>>>>
>>>>> The most stripped down way to load JSON support I found up to now is:
>>>>>
>>>>> Gofer it
>>>>>         squeaksource: 'MetacelloRepository';
>>>>>         package: 'ConfigurationOfSeaside30';
>>>>>         load.
>>>>>
>>>>> ConfigurationOfSeaside30 project latestVersion load:
>>>>> #('Javascript-Core')
>>>>>
>>>>> This however also loads a lot of Seaside stuff. As the JSON support is
>>>>> for a
>>>>> (non-web) server app only all the Seaside stuff is not really needed.
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Udo
>>>>>
>>>>> _______________________________________________
>>>>> seaside mailing list
>>>>> seaside at lists.squeakfoundation.org
>>>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Lukas Renggli
>>>> www.lukas-renggli.ch
>>>> _______________________________________________
>>>> seaside mailing list
>>>> seaside at lists.squeakfoundation.org
>>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>
>>>
>>> _______________________________________________
>>> seaside mailing list
>>> seaside at lists.squeakfoundation.org
>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>
>>>
>>
>>
>>
>> --
>> Lukas Renggli
>> www.lukas-renggli.ch
>>
>
>
>




More information about the seaside mailing list