C#:

    public class BasicItem
    {
        public Guid Id;

        public DateTime DateCreated;

        public string Name;

        public MediaTypes Type;
    }

 

JSON: {
"DateCreated":"\/Date(1276538867704+0100)\/",
"Id":"bf9202bd-6ad9-eb61-4984-dc6dfd36dcc8",
"Name":"itemName",
"Type":0  // MediaTypes enum
}

Last edited Sep 2, 2010 at 4:50 PM by evorgevol, version 2

Comments

No comments yet.