Loading ...
Sorry, an error occurred while loading the content.

29Re: The Module Tag

Expand Messages
  • Douglas Crockford
    Jul 12, 2007
    • 0 Attachment
      --- In caplet@yahoogroups.com, David Hopwood <david.hopwood@...> wrote:
      > Douglas Crockford wrote, in May:
      > >
      > > http://json.org/module.html
      > >
      > > How does this fit in a capability network?
      > # Communication is restricted only to JSON text. JSON text allows
      > # of simple or complex data structures without the capability
      leakage that
      > # would occur with the exchange of JavaScript objects.

      > Restricting to JSON is a good idea only if there exists a standardized
      > Javascript function that decodes *only* JSON. Otherwise people will try
      > to do that using 'eval'.

      The parseJSON method is available at http://www.json.org/js.html

      It will be standard equipment in the next edition of ECMAScript.
    • Show all 8 messages in this topic