On Tue, Jun 11, 2013 at 8:57 AM, Chris Dew <[email protected]> wrote:

> I was quite concerned when I couldn't find a formal specification for the
> simple newline delimited JSON over TCP framing (which I have successfully
> used on multiple projects).
>
>
> So I wrote one:
>
> http://www.jsonstream.org
>
>
> Have I missed a IETF or W3C RFC for this?
>

Hey Chris,

I think most streaming parsers just wait for the beginning object or array
to close and don't necessarily need a delimiter between objects.

A lot of work in "streaming JSON over TCP" has been focused on binary
serialization formats as a whole, not necessarily chunk delimiters.

- BSON: http://bsonspec.org/
- MessagePack: http://msgpack.org
- CBOR: http://tools.ietf.org/html/draft-bormann-cbor-01 (recent IETF
Internet-Draft)

Cheers,

-- 
Kevin Swiber
Projects: https://github.com/kevinswiber
Twitter: @kevinswiber

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to