W3C home > Mailing lists > Public > public-linked-json@w3.org > July 2012

Values with angle brackets

From: nil <nil.niklas@gmail.com>
Date: Fri, 20 Jul 2012 10:15:36 +0200
Message-ID: <CAERg+cghuiGFh6sAB-vYJK+G=okFKm-rnbYZ9nQMwCDuKRSHyA@mail.gmail.com>
To: public-linked-json <public-linked-json@w3.org>
Hi,

I'm wondering why the playground omits values between < and > in the output.
My example input:
{
  "@context": {
    "message-id": "http://www.semanticdesktop.org/ontologies/nmo#messageId"
  },
  "message-id":
"<CAERg+cg3y+bKtk9KE5UMmK15+1+U191oUgVZaT=ifhB7YqaMAQ@mail.gmail.com>"
}

The output (in Compacted form):

{
  "http://www.semanticdesktop.org/ontologies/nmo#messageId": ""
}

If I put text before / after the brackets, it becomes part of the
output. Do I need to escape the brackets? If so, why is that and where
is it documented?

-- Niklas Cathor
Received on Friday, 20 July 2012 08:16:09 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:25:37 GMT