Parse byte array to json with Json.Net

Viewed 69161

I'm trying to parse byte[] array to Dictionary<String,Object> using Json.Net but with no success

Actually I'm in doubt about its possibility. So is it possible? with this library or with anyother library?

here is what I have tried but DeserializeObject excepts only string as parameter afaik

public static Dictionary<String, Object> parse(byte[] json){
     Dictionary<String, Object> values = JsonConvert.DeserializeObject<Dictionary<String, Object>>(json);
     return values;
}
2 Answers
Related