{"action":"created","issue":{"url":"https://api.github.com/repos/kevin-montrose/Jil/issues/155","labels_url":"https://api.github.com/repos/kevin-montrose/Jil/issues/155/labels{/name}","comments_url":"https://api.github.com/repos/kevin-montrose/Jil/issues/155/comments","events_url":"https://api.github.com/repos/kevin-montrose/Jil/issues/155/events","html_url":"https://github.com/kevin-montrose/Jil/issues/155","id":101426591,"number":155,"title":"Deserializing properties have null values","user":{"login":"scheepersw","id":13834282,"avatar_url":"https://avatars.githubusercontent.com/u/13834282?v=3","gravatar_id":"","url":"https://api.github.com/users/scheepersw","html_url":"https://github.com/scheepersw","followers_url":"https://api.github.com/users/scheepersw/followers","following_url":"https://api.github.com/users/scheepersw/following{/other_user}","gists_url":"https://api.github.com/users/scheepersw/gists{/gist_id}","starred_url":"https://api.github.com/users/scheepersw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scheepersw/subscriptions","organizations_url":"https://api.github.com/users/scheepersw/orgs","repos_url":"https://api.github.com/users/scheepersw/repos","events_url":"https://api.github.com/users/scheepersw/events{/privacy}","received_events_url":"https://api.github.com/users/scheepersw/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-17T13:59:11Z","updated_at":"2015-08-18T06:28:34Z","closed_at":"2015-08-18T06:28:34Z","body":"Hi\r\nI'm quite new to Json and I'm sure I'm just doing something wrong.  When I deserialise a simple type with four properties, Jil deserialises the properties but the values are null.  Could you point out where I'm going wrong?\r\n// no inheritance\r\npublic class MyObject\r\n{\r\n  public string Validator { get; set; }\r\n  public long Sequence { get; set; }\r\n  public object Value { get; set; }\r\n  public Dictionary<string, object> Parameters { get; set; }\r\n}\r\n\r\nand a sample of the Json string\r\n{\"validator\":\"AccountVerifiedAsyncAttribute\",\"value\":\"asdf.\",\"sequence\":7,\"parameters\":null}\r\n\r\nWhat I get back is a MyObject with;\r\nvalidator = null\r\nsequence = 0\r\nvalue = null\r\nparameters = null\r\n\r\n\r\nand I call it like this with default parameters\r\nMyObject myObj = Jil.JSON.Deserialize<MyObject>(json);\r\n\r\nThanks\r\n"},"comment":{"url":"https://api.github.com/repos/kevin-montrose/Jil/issues/comments/132088581","html_url":"https://github.com/kevin-montrose/Jil/issues/155#issuecomment-132088581","issue_url":"https://api.github.com/repos/kevin-montrose/Jil/issues/155","id":132088581,"user":{"login":"scheepersw","id":13834282,"avatar_url":"https://avatars.githubusercontent.com/u/13834282?v=3","gravatar_id":"","url":"https://api.github.com/users/scheepersw","html_url":"https://github.com/scheepersw","followers_url":"https://api.github.com/users/scheepersw/followers","following_url":"https://api.github.com/users/scheepersw/following{/other_user}","gists_url":"https://api.github.com/users/scheepersw/gists{/gist_id}","starred_url":"https://api.github.com/users/scheepersw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scheepersw/subscriptions","organizations_url":"https://api.github.com/users/scheepersw/orgs","repos_url":"https://api.github.com/users/scheepersw/repos","events_url":"https://api.github.com/users/scheepersw/events{/privacy}","received_events_url":"https://api.github.com/users/scheepersw/received_events","type":"User","site_admin":false},"created_at":"2015-08-18T06:28:34Z","updated_at":"2015-08-18T06:28:34Z","body":"I used the JilDirective and it works great. Thanks."}}