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

844Re: [json] [question] parse json with ajax

Expand Messages
  • Martin Cooper
    Aug 14 7:11 PM
    • 0 Attachment
      On 8/14/07, genzoeri <genzoeri@...> wrote:
      >
      > Hi,I have difficulties to parse this json
      > {depth1:{depth2:{depth3:'content'}}}


      That's not valid JSON, for two reasons:

      1) Key names are strings, and must be quoted as such.
      2) Strings must be quoted with double quotes, not single quotes.

      See http://json.org/ for the JSON specification.

      --
      Martin Cooper


      how to get the 'content'?? using ajax?
      >
      >
      >
      >
      > Yahoo! Groups Links
      >
      >
      >
      >


      [Non-text portions of this message have been removed]
    • Show all 7 messages in this topic