JSON Deserialize

Hello Everyone, Hope you are doing well 

I have an issue while trying to deserialize a json getting this error "unexpected end of JSON input "

my json is as bellow : 

{"translations":[
{"Key1":"Value1"},

{"Key1":"Value1"},

{"Key1":"Value1"},

{"Key1":"Value1"},
]}

Can anyone please help? 

Solution

Hi,


I passed that in an online JSON validator and I had this result:


It took off the last comma.


Can you try like that?


Hope this can help.


Best regards,

Ricardo M Pereira

Solution

Ricardo Pereira wrote:

Hi,


I passed that in an online JSON validator and I had this result:


It took off the last comma.


Can you try like that?


Hope this can help.


Best regards,

Ricardo M Pereira

 Thank you for your help, I fixed it. 

 

You're welcome ;)


Best regards,

Ricardo M Pereira