{"action":"created","comment":{"url":"https://api.github.com/repos/apavlenko/vmf/pulls/comments/50138911","id":50138911,"diff_hunk":"@@ -0,0 +1,111 @@\n+package com.intel.vmf;\n+\n+import java.io.DataInputStream;\n+import java.io.DataOutputStream;\n+\n+public class JSONReader implements IReader\n+{\n+    static\n+    {\n+        System.loadLibrary(\"vmf\");\n+    }\n+\n+    protected final long nativeObj;\n+\t\n+    public JSONReader ()\n+    {\n+        nativeObj = n_JSONReader();\n+    }\n+\t\n+    public long getNativeAddr()\n+    {\n+        return nativeObj;\n+    }\n+    \n+    public boolean parseAll (final String text, long nextId, String filepath, String checksum, \n+                             MetadataStream.VideoSegment[] segments, MetadataSchema[] schemas, MetadataInternal[] mdInt)\n+    {\n+        long segNativeAddrs[] = new long [segments.length];\n+        long schemaNativeAddrs[] = new long [schemas.length];\n+        long mdIntNativeAddrs[] = new long [mdInt.length];\n+        \n+        for (int i = 0; i < segments.length; i++)\n+        {\n+            segNativeAddrs[i] = segments[i].nativeObj;\n+        }\n+        \n+        for (int j = 0; j < schemas.length; j++)\n+        {\n+            schemaNativeAddrs[j] = schemas[j].nativeObj;\n+        }\n+        \n+        for (int k = 0; k < mdInt.length; k++)\n+        {\n+            mdIntNativeAddrs[k] = mdInt[k].nativeObj;\n+        }\n+        \n+        return n_parseAll (nativeObj, text, nextId, filepath, \n+                           checksum, segNativeAddrs, schemaNativeAddrs, \n+                           mdIntNativeAddrs);\n+    }\n+\n+    public boolean parseSchemas (String text, MetadataSchema[] schemas)","path":"modules/vmfcore/java/com/intel/vmf/JSONReader.java","position":52,"original_position":52,"commit_id":"98d299b8def2093de9ff1048fcfe1d7f942e2905","original_commit_id":"98d299b8def2093de9ff1048fcfe1d7f942e2905","user":{"login":"apavlenko","id":2344952,"avatar_url":"https://avatars.githubusercontent.com/u/2344952?v=3","gravatar_id":"","url":"https://api.github.com/users/apavlenko","html_url":"https://github.com/apavlenko","followers_url":"https://api.github.com/users/apavlenko/followers","following_url":"https://api.github.com/users/apavlenko/following{/other_user}","gists_url":"https://api.github.com/users/apavlenko/gists{/gist_id}","starred_url":"https://api.github.com/users/apavlenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apavlenko/subscriptions","organizations_url":"https://api.github.com/users/apavlenko/orgs","repos_url":"https://api.github.com/users/apavlenko/repos","events_url":"https://api.github.com/users/apavlenko/events{/privacy}","received_events_url":"https://api.github.com/users/apavlenko/received_events","type":"User","site_admin":false},"body":"`@Override`","created_at":"2016-01-19T16:51:36Z","updated_at":"2016-01-19T16:51:36Z","html_url":"https://github.com/apavlenko/vmf/pull/5#discussion_r50138911","pull_request_url":"https://api.github.com/repos/apavlenko/vmf/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/apavlenko/vmf/pulls/comments/50138911"},"html":{"href":"https://github.com/apavlenko/vmf/pull/5#discussion_r50138911"},"pull_request":{"href":"https://api.github.com/repos/apavlenko/vmf/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/apavlenko/vmf/pulls/5","id":52666125,"html_url":"https://github.com/apavlenko/vmf/pull/5","diff_url":"https://github.com/apavlenko/vmf/pull/5.diff","patch_url":"https://github.com/apavlenko/vmf/pull/5.patch","issue_url":"https://api.github.com/repos/apavlenko/vmf/issues/5","number":5,"state":"open","locked":false,"title":"[WIP] VMF java wrappers","user":{"login":"anna-plyakina","id":8641295,"avatar_url":"https://avatars.githubusercontent.com/u/8641295?v=3","gravatar_id":"","url":"https://api.github.com/users/anna-plyakina","html_url":"https://github.com/anna-plyakina","followers_url":"https://api.github.com/users/anna-plyakina/followers","following_url":"https://api.github.com/users/anna-plyakina/following{/other_user}","gists_url":"https://api.github.com/users/anna-plyakina/gists{/gist_id}","starred_url":"https://api.github.com/users/anna-plyakina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anna-plyakina/subscriptions","organizations_url":"https://api.github.com/users/anna-plyakina/orgs","repos_url":"https://api.github.com/users/anna-plyakina/repos","events_url":"https://api.github.com/users/anna-plyakina/events{/privacy}","received_events_url":"https://api.github.com/users/anna-plyakina/received_events","type":"User","site_admin":false},"body":"(#1)\r\nWIP","created_at":"2015-12-04T12:58:10Z","updated_at":"2016-01-19T16:51:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f360a90254e67cee8dcefb1f689ef21aa0c114bc","assignee":{"login":"apavlenko","id":2344952,"avatar_url":"https://avatars.githubusercontent.com/u/2344952?v=3","gravatar_id":"","url":"https://api.github.com/users/apavlenko","html_url":"https://github.com/apavlenko","followers_url":"https://api.github.com/users/apavlenko/followers","following_url":"https://api.github.com/users/apavlenko/following{/other_user}","gists_url":"https://api.github.com/users/apavlenko/gists{/gist_id}","starred_url":"https://api.github.com/users/apavlenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apavlenko/subscriptions","organizations_url":"https://api.github.com/users/apavlenko/orgs","repos_url":"https://api.github.com/users/apavlenko/repos","events_url":"https://api.github.com/users/apavlenko/events{/privacy}","received_events_url":"https://api.github.com/users/apavlenko/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/apavlenko/vmf/milestones/2","html_url":"https://github.com/apavlenko/vmf/milestones/Milestone%201","labels_url":"https://api.github.com/repos/apavlenko/vmf/milestones/2/labels","id":1464854,"number":2,"title":"Milestone 1","description":"Midterm","creator":{"login":"apavlenko","id":2344952,"avatar_url":"https://avatars.githubusercontent.com/u/2344952?v=3","gravatar_id":"","url":"https://api.github.com/users/apavlenko","html_url":"https://github.com/apavlenko","followers_url":"https://api.github.com/users/apavlenko/followers","following_url":"https://api.github.com/users/apavlenko/following{/other_user}","gists_url":"https://api.github.com/users/apavlenko/gists{/gist_id}","starred_url":"https://api.github.com/users/apavlenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apavlenko/subscriptions","organizations_url":"https://api.github.com/users/apavlenko/orgs","repos_url":"https://api.github.com/users/apavlenko/repos","events_url":"https://api.github.com/users/apavlenko/events{/privacy}","received_events_url":"https://api.github.com/users/apavlenko/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":5,"state":"open","created_at":"2015-12-17T12:12:22Z","updated_at":"2016-01-19T13:53:22Z","due_on":"2016-01-30T21:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/apavlenko/vmf/pulls/5/commits","review_comments_url":"https://api.github.com/repos/apavlenko/vmf/pulls/5/comments","review_comment_url":"https://api.github.com/repos/apavlenko/vmf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apavlenko/vmf/issues/5/comments","statuses_url":"https://api.github.com/repos/apavlenko/vmf/statuses/98d299b8def2093de9ff1048fcfe1d7f942e2905","head":{"label":"anna-plyakina:vmf_java_wrappers","ref":"vmf_java_wrappers","sha":"98d299b8def2093de9ff1048fcfe1d7f942e2905","user":{"login":"anna-plyakina","id":8641295,"avatar_url":"https://avatars.githubusercontent.com/u/8641295?v=3","gravatar_id":"","url":"https://api.github.com/users/anna-plyakina","html_url":"https://github.com/anna-plyakina","followers_url":"https://api.github.com/users/anna-plyakina/followers","following_url":"https://api.github.com/users/anna-plyakina/following{/other_user}","gists_url":"https://api.github.com/users/anna-plyakina/gists{/gist_id}","starred_url":"https://api.github.com/users/anna-plyakina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anna-plyakina/subscriptions","organizations_url":"https://api.github.com/users/anna-plyakina/orgs","repos_url":"https://api.github.com/users/anna-plyakina/repos","events_url":"https://api.github.com/users/anna-plyakina/events{/privacy}","received_events_url":"https://api.github.com/users/anna-plyakina/received_events","type":"User","site_admin":false},"repo":{"id":47114765,"name":"vmf","full_name":"anna-plyakina/vmf","owner":{"login":"anna-plyakina","id":8641295,"avatar_url":"https://avatars.githubusercontent.com/u/8641295?v=3","gravatar_id":"","url":"https://api.github.com/users/anna-plyakina","html_url":"https://github.com/anna-plyakina","followers_url":"https://api.github.com/users/anna-plyakina/followers","following_url":"https://api.github.com/users/anna-plyakina/following{/other_user}","gists_url":"https://api.github.com/users/anna-plyakina/gists{/gist_id}","starred_url":"https://api.github.com/users/anna-plyakina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anna-plyakina/subscriptions","organizations_url":"https://api.github.com/users/anna-plyakina/orgs","repos_url":"https://api.github.com/users/anna-plyakina/repos","events_url":"https://api.github.com/users/anna-plyakina/events{/privacy}","received_events_url":"https://api.github.com/users/anna-plyakina/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/anna-plyakina/vmf","description":"","fork":true,"url":"https://api.github.com/repos/anna-plyakina/vmf","forks_url":"https://api.github.com/repos/anna-plyakina/vmf/forks","keys_url":"https://api.github.com/repos/anna-plyakina/vmf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/anna-plyakina/vmf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/anna-plyakina/vmf/teams","hooks_url":"https://api.github.com/repos/anna-plyakina/vmf/hooks","issue_events_url":"https://api.github.com/repos/anna-plyakina/vmf/issues/events{/number}","events_url":"https://api.github.com/repos/anna-plyakina/vmf/events","assignees_url":"https://api.github.com/repos/anna-plyakina/vmf/assignees{/user}","branches_url":"https://api.github.com/repos/anna-plyakina/vmf/branches{/branch}","tags_url":"https://api.github.com/repos/anna-plyakina/vmf/tags","blobs_url":"https://api.github.com/repos/anna-plyakina/vmf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/anna-plyakina/vmf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/anna-plyakina/vmf/git/refs{/sha}","trees_url":"https://api.github.com/repos/anna-plyakina/vmf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/anna-plyakina/vmf/statuses/{sha}","languages_url":"https://api.github.com/repos/anna-plyakina/vmf/languages","stargazers_url":"https://api.github.com/repos/anna-plyakina/vmf/stargazers","contributors_url":"https://api.github.com/repos/anna-plyakina/vmf/contributors","subscribers_url":"https://api.github.com/repos/anna-plyakina/vmf/subscribers","subscription_url":"https://api.github.com/repos/anna-plyakina/vmf/subscription","commits_url":"https://api.github.com/repos/anna-plyakina/vmf/commits{/sha}","git_commits_url":"https://api.github.com/repos/anna-plyakina/vmf/git/commits{/sha}","comments_url":"https://api.github.com/repos/anna-plyakina/vmf/comments{/number}","issue_comment_url":"https://api.github.com/repos/anna-plyakina/vmf/issues/comments{/number}","contents_url":"https://api.github.com/repos/anna-plyakina/vmf/contents/{+path}","compare_url":"https://api.github.com/repos/anna-plyakina/vmf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/anna-plyakina/vmf/merges","archive_url":"https://api.github.com/repos/anna-plyakina/vmf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/anna-plyakina/vmf/downloads","issues_url":"https://api.github.com/repos/anna-plyakina/vmf/issues{/number}","pulls_url":"https://api.github.com/repos/anna-plyakina/vmf/pulls{/number}","milestones_url":"https://api.github.com/repos/anna-plyakina/vmf/milestones{/number}","notifications_url":"https://api.github.com/repos/anna-plyakina/vmf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/anna-plyakina/vmf/labels{/name}","releases_url":"https://api.github.com/repos/anna-plyakina/vmf/releases{/id}","created_at":"2015-11-30T11:42:21Z","updated_at":"2015-11-30T11:42:23Z","pushed_at":"2016-01-19T14:25:36Z","git_url":"git://github.com/anna-plyakina/vmf.git","ssh_url":"git@github.com:anna-plyakina/vmf.git","clone_url":"https://github.com/anna-plyakina/vmf.git","svn_url":"https://github.com/anna-plyakina/vmf","homepage":"http://01org.github.io/vmf/","size":30724,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"vmf-3.0"}},"base":{"label":"apavlenko:vmf-3.0","ref":"vmf-3.0","sha":"163dcaff408136178558a0aa63e083eaa6cbb34f","user":{"login":"apavlenko","id":2344952,"avatar_url":"https://avatars.githubusercontent.com/u/2344952?v=3","gravatar_id":"","url":"https://api.github.com/users/apavlenko","html_url":"https://github.com/apavlenko","followers_url":"https://api.github.com/users/apavlenko/followers","following_url":"https://api.github.com/users/apavlenko/following{/other_user}","gists_url":"https://api.github.com/users/apavlenko/gists{/gist_id}","starred_url":"https://api.github.com/users/apavlenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apavlenko/subscriptions","organizations_url":"https://api.github.com/users/apavlenko/orgs","repos_url":"https://api.github.com/users/apavlenko/repos","events_url":"https://api.github.com/users/apavlenko/events{/privacy}","received_events_url":"https://api.github.com/users/apavlenko/received_events","type":"User","site_admin":false},"repo":{"id":47108203,"name":"vmf","full_name":"apavlenko/vmf","owner":{"login":"apavlenko","id":2344952,"avatar_url":"https://avatars.githubusercontent.com/u/2344952?v=3","gravatar_id":"","url":"https://api.github.com/users/apavlenko","html_url":"https://github.com/apavlenko","followers_url":"https://api.github.com/users/apavlenko/followers","following_url":"https://api.github.com/users/apavlenko/following{/other_user}","gists_url":"https://api.github.com/users/apavlenko/gists{/gist_id}","starred_url":"https://api.github.com/users/apavlenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apavlenko/subscriptions","organizations_url":"https://api.github.com/users/apavlenko/orgs","repos_url":"https://api.github.com/users/apavlenko/repos","events_url":"https://api.github.com/users/apavlenko/events{/privacy}","received_events_url":"https://api.github.com/users/apavlenko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/apavlenko/vmf","description":"","fork":true,"url":"https://api.github.com/repos/apavlenko/vmf","forks_url":"https://api.github.com/repos/apavlenko/vmf/forks","keys_url":"https://api.github.com/repos/apavlenko/vmf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apavlenko/vmf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apavlenko/vmf/teams","hooks_url":"https://api.github.com/repos/apavlenko/vmf/hooks","issue_events_url":"https://api.github.com/repos/apavlenko/vmf/issues/events{/number}","events_url":"https://api.github.com/repos/apavlenko/vmf/events","assignees_url":"https://api.github.com/repos/apavlenko/vmf/assignees{/user}","branches_url":"https://api.github.com/repos/apavlenko/vmf/branches{/branch}","tags_url":"https://api.github.com/repos/apavlenko/vmf/tags","blobs_url":"https://api.github.com/repos/apavlenko/vmf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apavlenko/vmf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apavlenko/vmf/git/refs{/sha}","trees_url":"https://api.github.com/repos/apavlenko/vmf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apavlenko/vmf/statuses/{sha}","languages_url":"https://api.github.com/repos/apavlenko/vmf/languages","stargazers_url":"https://api.github.com/repos/apavlenko/vmf/stargazers","contributors_url":"https://api.github.com/repos/apavlenko/vmf/contributors","subscribers_url":"https://api.github.com/repos/apavlenko/vmf/subscribers","subscription_url":"https://api.github.com/repos/apavlenko/vmf/subscription","commits_url":"https://api.github.com/repos/apavlenko/vmf/commits{/sha}","git_commits_url":"https://api.github.com/repos/apavlenko/vmf/git/commits{/sha}","comments_url":"https://api.github.com/repos/apavlenko/vmf/comments{/number}","issue_comment_url":"https://api.github.com/repos/apavlenko/vmf/issues/comments{/number}","contents_url":"https://api.github.com/repos/apavlenko/vmf/contents/{+path}","compare_url":"https://api.github.com/repos/apavlenko/vmf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apavlenko/vmf/merges","archive_url":"https://api.github.com/repos/apavlenko/vmf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apavlenko/vmf/downloads","issues_url":"https://api.github.com/repos/apavlenko/vmf/issues{/number}","pulls_url":"https://api.github.com/repos/apavlenko/vmf/pulls{/number}","milestones_url":"https://api.github.com/repos/apavlenko/vmf/milestones{/number}","notifications_url":"https://api.github.com/repos/apavlenko/vmf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apavlenko/vmf/labels{/name}","releases_url":"https://api.github.com/repos/apavlenko/vmf/releases{/id}","created_at":"2015-11-30T09:26:33Z","updated_at":"2015-11-30T09:27:33Z","pushed_at":"2016-01-19T14:25:37Z","git_url":"git://github.com/apavlenko/vmf.git","ssh_url":"git@github.com:apavlenko/vmf.git","clone_url":"https://github.com/apavlenko/vmf.git","svn_url":"https://github.com/apavlenko/vmf","homepage":"http://01org.github.io/vmf/","size":33476,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":11,"forks":2,"open_issues":11,"watchers":0,"default_branch":"vmf-3.0"}},"_links":{"self":{"href":"https://api.github.com/repos/apavlenko/vmf/pulls/5"},"html":{"href":"https://github.com/apavlenko/vmf/pull/5"},"issue":{"href":"https://api.github.com/repos/apavlenko/vmf/issues/5"},"comments":{"href":"https://api.github.com/repos/apavlenko/vmf/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/apavlenko/vmf/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/apavlenko/vmf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apavlenko/vmf/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/apavlenko/vmf/statuses/98d299b8def2093de9ff1048fcfe1d7f942e2905"}}}}