Skip to content

Instantly share code, notes, and snippets.

@abe238
Created April 24, 2015 05:22
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abe238/abb54c669a54031a9c69 to your computer and use it in GitHub Desktop.
Save abe238/abb54c669a54031a9c69 to your computer and use it in GitHub Desktop.
page_views
//Example 1
{"2771":["2015/04/21 16:52:53"],
"2794":{"1":"2015-04-21 13:05:06 UTC"},
"2734":{"1":"2015-04-21 13:07:02 UTC"}}
//Example 2
{"26":{"0":"2014/07/30 13:44:40",
"1":"2014/07/30 14:40:12",
"2":"2014/07/30 14:51:41",
"3":"2014/07/31 17:45:26",
"4":"2014/07/31 21:21:24",
"6":"2014-10-07 10:11:34 UTC",
"7":"2014-10-31 11:31:47 UTC",
"8":"2014-10-31 11:32:51 UTC",
"9":"2014-11-01 15:43:21 UTC",
"10":"2014-11-04 10:04:18 UTC",
"11":"2014-11-04 15:21:43 UTC",
"12":"2014-11-04 19:00:41 UTC",
"13":"2014-11-05 9:30:56 UTC",
"14":"2014-11-05 15:53:32 UTC",
"15":"2014-11-05 18:25:41 UTC",
"16":"2014-11-06 14:42:05 UTC",
"17":"2014-11-08 13:50:36 UTC"},
"996":{"0":"2014/07/31 21:21:31",
"2":"2014-07-31 4:21:58 UTC",
"3":"2014-07-30 20:27:57 UTC"},
"1839":{"1":"2014-10-08 16:22:11 UTC"}}
@atwellpub
Copy link

Hey will you provide more information about where this json came from? It looks like it's page_id's with timestamps without being sorted. Need more information to find out why though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment