Re: deJSONKit - serialization as JSON from E

Kevin Reid <[email protected]>
Newsgroups gmane.comp.lang.e.general
Message-ID <[email protected]>
On May 22, 2009, at 17:11, Tyler Close wrote:

> On Fri, May 22, 2009 at 2:09 PM, Kevin Reid <[email protected]> wrote:
>> On May 22, 2009, at 16:46, Tyler Close wrote:
>>
>>> A doubly-linked list would be represented by multiple JSON  
>>> documents.
>>
>> So I make up my own scheme for packing multiple 'documents' within a
>> single message?
>
> Do the documents have to come in a single message? Doesn't CapTP use a
> separate message to fetch the resolved value of each promise?

Resolutions of promises *sent over the wire* are requested separately.  
Circular data structure is delivered immediately without any further  
roundtrips needed.

Promises are used *in the process of constructing* circular structure,  
synchronously within the turn of the unserializer, and the end of  
unserialization of a single message, the complete structure is  
available.

-- 
Kevin Reid                            <http://homepage.mac.com/kpreid/>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.