I’m having difficilty understanding how to use Json properly. I’m using the prime31 plugin for socialNetworking and can easily get all of my scores from facebook in Json format.
Example:
{"data":[{"score":428500, "application":{"id":"1111111", "namespace":"bejeweledblitz", "name":"Bejeweled Blitz"}, "user":{"id":"2222", "name":"Adam Smith"}}, {"score":7616, "application":{"id":"44444444444", "namespace":"avengersalliance", "name":"Marvel: Avengers Alliance"}, "user":{"id":"6665545434", "name":"Adam Smith"}}]}
I’m fairly new to the whole new json thing, I just heard about it yesterday. I’m using MiniJson to Encode what i get back from the facebook graph API into json.
Now I just need to be able to parse the data out of it.