{"action":"opened","issue":{"url":"https://api.github.com/repos/onryldz/x-superobject/issues/96","repository_url":"https://api.github.com/repos/onryldz/x-superobject","labels_url":"https://api.github.com/repos/onryldz/x-superobject/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/onryldz/x-superobject/issues/96/comments","events_url":"https://api.github.com/repos/onryldz/x-superobject/issues/96/events","html_url":"https://github.com/onryldz/x-superobject/issues/96","id":153025800,"number":96,"title":"Empty list are marshallized as null instead of []","user":{"login":"stephanewierzbicki","id":12735682,"avatar_url":"https://avatars.githubusercontent.com/u/12735682?v=3","gravatar_id":"","url":"https://api.github.com/users/stephanewierzbicki","html_url":"https://github.com/stephanewierzbicki","followers_url":"https://api.github.com/users/stephanewierzbicki/followers","following_url":"https://api.github.com/users/stephanewierzbicki/following{/other_user}","gists_url":"https://api.github.com/users/stephanewierzbicki/gists{/gist_id}","starred_url":"https://api.github.com/users/stephanewierzbicki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephanewierzbicki/subscriptions","organizations_url":"https://api.github.com/users/stephanewierzbicki/orgs","repos_url":"https://api.github.com/users/stephanewierzbicki/repos","events_url":"https://api.github.com/users/stephanewierzbicki/events{/privacy}","received_events_url":"https://api.github.com/users/stephanewierzbicki/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-04T14:28:14Z","updated_at":"2016-05-04T14:28:14Z","closed_at":null,"body":"Simple object\r\n```\r\ntype\r\nTArticleDetail = class\r\n  private\r\n    FTaille: String;\r\n  public\r\n    property taille: String read FTaille write FTaille;\r\n  end;\r\n\r\n TArticle = class\r\n  private\r\n    FArtDetail: TObjectList<TArticleDetail>;\r\n    FCode_art: String;\r\n  public\r\n    property artDetail: TObjectList<TArticleDetail> read FArtDetail write FArtDetail;\r\n    property code_art: String read FCode_art write FCode_art;\r\n  end;\r\n\r\n  Article  := TArticle.Create;\r\n  Article.AsJSON(true);\r\n```\r\nArticle.AsJSON is displaying \r\n```\r\n{\r\n \"artDetail\":null,\r\n \"code_art\":\"\"\r\n}\r\n```\r\n\r\ninstead of \r\n\r\n```\r\n{\r\n \"artDetail\":[],\r\n \"code_art\":\"\"\r\n}\r\n```\r\n"}}