views:

24

answers:

3

I have the following JSON data:

{"data":{
            "default":"some data"
         }
}

Whenever I try to access data.default, Safari generates sytax error because the keyword default. Other web browsers seem to work.

What is the work around for this type of issue?

note: I can't change the JSON data. It is out of my control.