[e-lang] deJSONKit - serialization as JSON from E
Kevin Reid
kpreid at mac.com
Fri May 22 18:01:44 EDT 2009
On May 22, 2009, at 17:11, Tyler Close wrote:
> On Fri, May 22, 2009 at 2:09 PM, Kevin Reid <kpreid at mac.com> 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/>
More information about the e-lang
mailing list