W3C home > Mailing lists > Public > public-linked-json@w3.org > September 2011

Stream-based processing!?

From: Markus Lanthaler <markus.lanthaler@gmx.net>
Date: Wed, 28 Sep 2011 13:57:21 +0200
To: <public-linked-json@w3.org>
Message-ID: <00de01cc7dd5$c8113a20$5833ae60$@lanthaler@gmx.net>
Hi all,

The current spec states that "[JSON-LD] is intended to be easy to parse,
efficient to generate, stream-based and document-based processing
compatible, and require a very small memory footprint in order to operate."

What is meant with stream-based processing? An object has no implied order
in JSON and so the @context might be the last element to be parsed. This
makes it impossible to do anything with all the other elements parsed
before. So how exactly JSON-LD supports stream-based processing and how is
it intended to work?

Markus Lanthaler
Received on Wednesday, 28 September 2011 11:57:51 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:18:32 UTC