{"action":"created","issue":{"url":"https://api.github.com/repos/chriskacerguis/codeigniter-restserver/issues/964","repository_url":"https://api.github.com/repos/chriskacerguis/codeigniter-restserver","labels_url":"https://api.github.com/repos/chriskacerguis/codeigniter-restserver/issues/964/labels{/name}","comments_url":"https://api.github.com/repos/chriskacerguis/codeigniter-restserver/issues/964/comments","events_url":"https://api.github.com/repos/chriskacerguis/codeigniter-restserver/issues/964/events","html_url":"https://github.com/chriskacerguis/codeigniter-restserver/issues/964","id":394673440,"node_id":"MDU6SXNzdWUzOTQ2NzM0NDA=","number":964,"title":"How to parse logs ?","user":{"login":"kabeza","id":274856,"node_id":"MDQ6VXNlcjI3NDg1Ng==","avatar_url":"https://avatars1.githubusercontent.com/u/274856?v=4","gravatar_id":"","url":"https://api.github.com/users/kabeza","html_url":"https://github.com/kabeza","followers_url":"https://api.github.com/users/kabeza/followers","following_url":"https://api.github.com/users/kabeza/following{/other_user}","gists_url":"https://api.github.com/users/kabeza/gists{/gist_id}","starred_url":"https://api.github.com/users/kabeza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kabeza/subscriptions","organizations_url":"https://api.github.com/users/kabeza/orgs","repos_url":"https://api.github.com/users/kabeza/repos","events_url":"https://api.github.com/users/kabeza/events{/privacy}","received_events_url":"https://api.github.com/users/kabeza/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-28T16:32:36Z","updated_at":"2019-01-01T18:37:08Z","closed_at":null,"author_association":"NONE","body":"Hi\r\nIs there a way to parse logs table, specifically the params field?\r\nI guess it is not in JSON format\r\n\r\n`a:6:{s:3:\"dni\";s:8:\"394958\";s:10:\"User-Agent\";s:70:\"GuzzleHttp/6.3.3 curl/7.35.0 PHP/7.2.13-1+ubuntu14.04.1+deb.sury.org+1\";s:13:\"Authorization\";s:42:\"Basic YXBpcGFFAKEkcm9uOlEsMyxCQ=\";s:4:\"Host\";s:9:\"localhost\";s:12:\"Content-Type\";s:16:\"application/json\";s:7:\"API-KEY\";s:40:\"8r9s3k4mNOTWORK6p7q8s2\";}`\r\n\r\nThanks a lot"},"comment":{"url":"https://api.github.com/repos/chriskacerguis/codeigniter-restserver/issues/comments/450748896","html_url":"https://github.com/chriskacerguis/codeigniter-restserver/issues/964#issuecomment-450748896","issue_url":"https://api.github.com/repos/chriskacerguis/codeigniter-restserver/issues/964","id":450748896,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDc0ODg5Ng==","user":{"login":"Thedijje","id":1737771,"node_id":"MDQ6VXNlcjE3Mzc3NzE=","avatar_url":"https://avatars0.githubusercontent.com/u/1737771?v=4","gravatar_id":"","url":"https://api.github.com/users/Thedijje","html_url":"https://github.com/Thedijje","followers_url":"https://api.github.com/users/Thedijje/followers","following_url":"https://api.github.com/users/Thedijje/following{/other_user}","gists_url":"https://api.github.com/users/Thedijje/gists{/gist_id}","starred_url":"https://api.github.com/users/Thedijje/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thedijje/subscriptions","organizations_url":"https://api.github.com/users/Thedijje/orgs","repos_url":"https://api.github.com/users/Thedijje/repos","events_url":"https://api.github.com/users/Thedijje/events{/privacy}","received_events_url":"https://api.github.com/users/Thedijje/received_events","type":"User","site_admin":false},"created_at":"2019-01-01T18:37:08Z","updated_at":"2019-01-01T18:37:08Z","author_association":"NONE","body":"Hi yes, i have done some stuff to do this, yes i found this is no json format so i used following code to format it and its kind of working fine for me.\r\n`\r\n$find \t=\tarray(';','{',':\"','s:','a:');\r\n$replace= \tarray(';<br>','<br>{<br> &#9;',':&#9\"','&#9(string):','&#9(array):');`\r\n\r\nand \r\n\r\n`<?php echo str_replace($find,$replace,$log_info->params);?>`\r\n\r\nthis gives me formatted output which you can see as follow\r\n![cltgp19vs7qx1wsj4zlirq_thumb_4](https://user-images.githubusercontent.com/1737771/50575289-5177e680-0e22-11e9-9c4c-2bc7a13bc548.jpg)\r\n\r\nHope it helps"}}
{"actor":{"display_login":"Thedijje"}}