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

[ANN] JASON

Expand Messages
  • JorgeChB
    JASON is just like JSON, but unlike JSON it can: serialize objects with methods serialize objects with cyclic references understand Dates, Regexps, Booleans,
    Message 1 of 1 , Feb 3, 2012
    • 0 Attachment
      JASON is just like JSON, but unlike JSON it can:

      serialize objects with methods
      serialize objects with cyclic references
      understand Dates, Regexps, Booleans, etc, and restore them with .parse() with their proper types/classes.
      understand and serialize all the JS primitives, including undefined
      properly recreate the holes in Arrays
      JASON lets you pass objects as text between processes and/or threads.

      Warning: unlike JSON, JASON is unsafe. You should only use it in contexts where you have strong guarantees that the strings that you pass to the JASON parser have been produced by a JASON formatter from a trusted source.

      https://github.com/xk/JASON

      --
      Jorge.
    Your message has been successfully submitted and would be delivered to recipients shortly.