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

Strict JSON

Expand Messages
  • Douglas Crockford
    JSON is primary a set of encoding rules. A JSON encoder is required to only emit stuff which is strict JSON. The only rule for decoders is that they accept
    Message 1 of 1 , Apr 12 1:14 PM
    View Source
    • 0 Attachment
      JSON is primary a set of encoding rules. A JSON encoder is required to
      only emit stuff which is strict JSON. The only rule for decoders is
      that they accept what an encoder emits. They are free to accept
      non-JSON languages if they want to. So a JavaScript engine is a JSON
      decoder, or a YAML decoder is also a JSON decoder.
    Your message has been successfully submitted and would be delivered to recipients shortly.