madcoderz
madcoderz

Reputation: 4431

understanding json data

Hello fellow programmers. I got an URL and im supposed to fetch JSON data which is hosted on that URL. As im totally new to JSON i only can recognize some of the data but there's some "weird" characters in the JSON data that i'd like to know about. I used an online "JSON viewer" to see the data from URL i got and it looks like this:

{
    "Content": "\u000d\u000a\u0009\u000d\u000a\u0009\u0009\u000d\u000a\u0009\u0009\u000d\u000a\u0009\u000d\u000a\u0009\u000d\u000a\u0009\u0009\u000d\u000a\u0009\u0009\u0009\u000d\u000a\u0009\u0009\u0009\u0009Current Leaders\u000d\u000a\u0009\u0009\u0009\u000d\u000a\u0009\u0009\u0009\u0009Sales in 000's\u000d\u000a\u0009\u0009\u000d\u000a\u0009\u0009\u000d\u000a\u0009\u0009\u0009\u000d\u000a\u0009\u0009\u0009\u0009Alice\u000d\u000a\u0009\u0009\u0009\u000d\u000a\u0009\u0009\u0009\u00091,000\u000d\u000a\u0009\u0009\u000d\u000a\u0009\u0009\u000d\u000a\u0009\u0009\u0009\u000d\u000a\u0009\u0009\u0009\u0009Bill\u000d\u000a\u0009\u0009\u0009\u000d\u000a\u0009\u0009\u0009\u0009975\u000d\u000a\u0009\u0009\u000d\u000a\u0009\u0009\u000d\u000a\u0009\u0009\u0009\u000d\u000a\u0009\u0009\u0009\u0009Curt\u000d\u000a\u0009\u0009\u0009\u000d\u000a\u0009\u0009\u0009\u0009967\u000d\u000a\u0009\u0009\u000d\u000a\u0009\u0009\u000d\u000a\u0009\u0009\u0009\u000d\u000a\u0009\u0009\u0009\u0009Deborah\u000d\u000a\u0009\u0009\u0009\u000d\u000a\u0009\u0009\u0009\u0009965\u000d\u000a\u0009\u0009\u000d\u000a\u0009\u0009\u000d\u000a\u0009\u0009\u0009\u000d\u000a\u0009\u0009\u0009\u0009Elsa\u000d\u000a\u0009\u0009\u0009\u000d\u000a\u0009\u0009\u0009\u0009964\u000d\u000a\u0009\u0009\u000d\u000a\u0009\u000d\u000a\u000d\u000a\u000d\u000a\u0009 \u000d\u000a",
    "DateChanged": "\/Date(1330709756123+0100)\/",
    "InfoContentID": 150,
    "Topic": "INCENTIVE LEADER BOARD"
  }

The question is, what are all those u000d\u0009 What doest that mean? It's all weird. Thanks in advance.

Upvotes: 0

Views: 7335

Answers (1)

Hans Z
Hans Z

Reputation: 4744

Those are unicode characters \u000d is the carriage return character (\r), \u000a is new line (\n), \u0009 is the tab character (\t). Basically it's all whitespace.

Upvotes: 7

Related Questions