JsonSerializationException please help

Aug 29, 2013 at 10:17 PM
Edited Aug 29, 2013 at 10:19 PM
I'm not new to c# but i just cant resolve this problem, cant even deserialize a single json :(
i'm getting this error

(Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ComponentModel.DataAnnotations\v4.0_4.0.0.0__31bf3856ad364e35\System.ComponentModel.DataAnnotations.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'wellness.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
A first chance exception of type 'Newtonsoft.Json.JsonSerializationException' occurred in Newtonsoft.Json.dll
A first chance exception of type 'Newtonsoft.Json.JsonSerializationException' occurred in Newtonsoft.Json.dll

my code is
List<model.attachment> theAttach;
theAttach = JsonConvert.DeserializeObject<List<model.attachment>>(theEvent.attachment); //Error in this line

my json is

{"attachment":[{"type":0, "name":"3-7.xlsx"},{"type":1, "name":"6-10.xlsx"},{"type":2, "name":"13-17.xlsx"},{"type":3, "name":"Time sheet_Metropolitan_19 to 21.xlsx"}]}