Re: Trailing content in JSON-LD

On Sun, Aug 23, 2015 at 7:15 AM, Andy Seaborne <andy@seaborne.org> wrote:

> so it does not say, to my reading, that the "JSON-LD document" includes or
> excludes the content after the "}"


​Actually, it does say that it excludes it.  The JSON *document ends *​at
the closing }.

Whether it should be a parser error I am not sure.  I would say that
parsers should ignore anything in a file or a stream that comes after the
document.  It is irrelevant to the document.  Maybe it is something sent
for other processing?  Maybe the JSON is embedded in another file?





-- 

============================================
Timothy Cook
LinkedIn Profile:http://www.linkedin.com/in/timothywaynecook
MLHIM http://www.mlhim.org

Received on Sunday, 23 August 2015 10:34:25 UTC