{"action":"opened","issue":{"url":"https://api.github.com/repos/NLog/NLog/issues/723","labels_url":"https://api.github.com/repos/NLog/NLog/issues/723/labels{/name}","comments_url":"https://api.github.com/repos/NLog/NLog/issues/723/comments","events_url":"https://api.github.com/repos/NLog/NLog/issues/723/events","html_url":"https://github.com/NLog/NLog/issues/723","id":83015463,"number":723,"title":"Support JSON array for properties","user":{"login":"di97mni","id":311406,"avatar_url":"https://avatars.githubusercontent.com/u/311406?v=3","gravatar_id":"","url":"https://api.github.com/users/di97mni","html_url":"https://github.com/di97mni","followers_url":"https://api.github.com/users/di97mni/followers","following_url":"https://api.github.com/users/di97mni/following{/other_user}","gists_url":"https://api.github.com/users/di97mni/gists{/gist_id}","starred_url":"https://api.github.com/users/di97mni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/di97mni/subscriptions","organizations_url":"https://api.github.com/users/di97mni/orgs","repos_url":"https://api.github.com/users/di97mni/repos","events_url":"https://api.github.com/users/di97mni/events{/privacy}","received_events_url":"https://api.github.com/users/di97mni/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-31T06:16:01Z","updated_at":"2015-05-31T06:16:01Z","closed_at":null,"body":"Version: NLog 4.0 RC\r\n\r\nFrom [this post](https://github.com/NLog/NLog/issues/722#issuecomment-107054041):\r\n\r\nThis configuration\r\n\r\n```xml\r\n<target name=\"jsonFile\" xsi:type=\"File\" fileName=\"${basedir}/logs/${shortdate}.json\">\r\n\t<layout xsi:type=\"JsonLayout\">\r\n\t\t<attribute name=\"time\" layout=\"${longdate}\" />\r\n\t\t<attribute name=\"level\" layout=\"${level:upperCase=true}\"/>\r\n\t\t<attribute name=\"message\" layout=\"${message}\" />\r\n\t\t<attribute name=\"properties\" layout=\"${all-event-properties}\" />\r\n\t</layout>\r\n</target>\r\n```\r\n\r\nGenerates this. Notice `properties`\r\n\r\n```json\r\n{\r\n  \"time\": \"2015-05-30 17:11:50.7131\",\r\n  \"level\": \"INFO\",\r\n  \"message\": \"Start\",\r\n  \"properties\": \"CallerMemberName=Main, CallerFilePath=C:\\\\Temp\\\\NLogJson\\\\ConsoleApplication1\\\\ConsoleApplication1\\\\Program.cs, CallerLineNumber=13\"\r\n}\r\n```\r\n\r\nInstead of a key value string, create a JSON array.\r\n\r\n```json\r\n{\r\n  \"time\": \"2015-05-30 17:27:55.0730\",\r\n  \"level\": \"INFO\",\r\n  \"message\": \"Start\",\r\n  \"properties\": {\r\n    \"CallerMemberName\": \"Main\",\r\n    \"CallerFilePath\": \"C:\\\\Temp\\\\NLogJson\\\\ConsoleApplication1\\\\ConsoleApplication1\\\\Program.cs\",\r\n    \"CallerLineNumber\": \"13\"\r\n  }\r\n}\r\n```\r\n\r\nMaybe this is also needed for other event properties?"}}