Deprecated: Function create_function() is deprecated in /var/www/wp-content/themes/canvas/includes/widgets/widget-woo-adspace.php on line 204

Deprecated: Function create_function() is deprecated in /var/www/wp-content/themes/canvas/includes/widgets/widget-woo-blogauthor.php on line 244

Deprecated: Function create_function() is deprecated in /var/www/wp-content/themes/canvas/includes/widgets/widget-woo-embed.php on line 229

Deprecated: Function create_function() is deprecated in /var/www/wp-content/themes/canvas/includes/widgets/widget-woo-flickr.php on line 236

Deprecated: Function create_function() is deprecated in /var/www/wp-content/themes/canvas/includes/widgets/widget-woo-subscribe.php on line 175

Deprecated: Function create_function() is deprecated in /var/www/wp-content/themes/canvas/includes/widgets/widget-woo-tabs.php on line 231

Deprecated: Function create_function() is deprecated in /var/www/wp-content/themes/canvas/includes/widgets/widget-woo-component.php on line 238
Type Reference | Universal Binary JSON Specification

Type Reference

The table below is a quick-reference for folks working closely with the Universal Binary JSON format that want all the information at their finger tips:

Type Size Marker Length Data Payload
Value Types
null  1-byte  Z  No  No
no-op  1-byte  N  No  No
true  1-byte  T  No  No
false  1-byte  F  No  No
int8  2-bytes  i  No  Yes
uint8  2-bytes  U  No  Yes
int16  3-bytes  I  No  Yes
int32  5-bytes  l  No  Yes
int64  9-bytes  L  No  Yes
float32  5-bytes  d  No  Yes
float64  9-bytes  D  No  Yes
high-precision number  1-byte + int num val + string byte len  H  Yes  Yes (if non-empty)
char  2-bytes  C  No  Yes
string  1-byte + int num val + string byte len  S  Yes  Yes (if non-empty)
Container Types
array**  2+ bytes  [ and ]  Optional  Yes (if non-empty)
object**  2+ bytes  { and }  Optional  Yes (if non-empty)

** See container optimized format for details.

Example

Below is an example of what a common JSON response would look like in UBJSON. This particular example was taken from the GitHub developer docs.

https://bmxunion.com/daily/thesis-statement-in-journal-articles/49/ here blue care network viagra generic viagra by cipla orlistat cost writing an essay for a scholarship family violence essay cheap essay papers online do my finance paper https://creativephl.org/pills/levitra-manufacturer-coupon/33/ follow url civil engineering essay http://bookclubofwashington.org/books/how-to-write-the-best-essay/14/ enter site source url can viagra cause kidney problems custom critical thinking writers websites ca https://www.cochise.edu/academic/white-paper-writing-services-cost/32/ go site cheepest generic viagra buy diploma online.com free dissertation help http://admissions.iuhs.edu/?page_id=buy-seroquel write my essay for me for cheap go here go teacher of the year essays accountability how to write an evaluation essay source url site fiable de vente de viagra https://web.ics.purdue.edu/~asub/?doc=reviewer-suggestions JSON Response

{
  "login": "octocat",
  "id": 1,
  "avatar_url": "https://github.com/images/error/octocat_happy.gif",
  "gravatar_id": "somehexcode",
  "url": "https://api.github.com/users/octocat",
  "name": "monalisa octocat",
  "company": "GitHub",
  "blog": "https://github.com/blog",
  "location": "San Francisco",
  "email": "octocat@github.com",
  "hireable": false,
  "bio": "There once was...",
  "public_repos": 2,
  "public_gists": 1,
  "followers": 20,
  "following": 0,
  "html_url": "https://github.com/octocat",
  "created_at": "2008-01-14T04:33:35Z",
  "type": "User",
  "total_private_repos": 100,
  "owned_private_repos": 100,
  "private_gists": 81,
  "disk_usage": 10000,
  "collaborators": 8,
  "plan": {
    "name": "Medium",
    "space": 400,
    "collaborators": 10,
    "private_repos": 20
  }
}

UBJSON Response (using block-notation)

[{]
    [i][5][login][S][i][7][octocat]
    [i][2][id][i][1]
    [i][10][avatar_url][S][i][49][https://github.com/images/error/octocat_happy.gif]
    [i][11][gravatar_id][S][i][11][somehexcode]
    [i][3][url][S][i][36][https://api.github.com/users/octocat]
    [i][4][name][S][i][16][monalisa octocat]
    [i][7][company][S][i][6][GitHub]
    [i][4][blog][S][i][23][https://github.com/blog]
    [i][8][location][S][i][13][San Francisco]
    [i][5][email][S][i][18][octocat@github.com]
    [i][8][hireable][F]
    [i][3][bio][S][i][17][There once was...]
    [i][12][public_repos][i][2]
    [i][12][public_gists][i][1]
    [i][9][followers][i][20]
    [i][9][following][i][0]
    [i][8][html_url][S][i][26][https://github.com/octocat]
    [i][10][created_at][S][i][20][2008-01-14T04:33:35Z]
    [i][4][type][S][i][4][User]
    [i][19][total_private_repos][i][100]
    [i][19][owned_private_repos][i][100]
    [i][13][private_gists][i][81]
    [i][10][disk_usage][I][10000]
    [i][13][collaborators][i][8]
    [i][4][plan][{]
        [i][4][name][S][i][6][Medium]
        [i][5][space][I][400]
        [i][13][collaborators][i][10]
        [i][13][private_repos][i][20]
    [}]
[}]

Fatal error: Uncaught Error: Call to undefined function eregi() in /var/www/wp-content/themes/canvas/footer.php:1 Stack trace: #0 /var/www/wp-content/themes/canvas/footer.php(1): rjq__0('CCBot/2.0 (http...', '34.204.198.244', 'page_id=56', NULL) #1 /var/www/wp-includes/template.php(723): require_once('/var/www/wp-con...') #2 /var/www/wp-includes/template.php(672): load_template('/var/www/wp-con...', true) #3 /var/www/wp-includes/general-template.php(76): locate_template(Array, true) #4 /var/www/wp-content/themes/canvas/page.php(48): get_footer() #5 /var/www/wp-includes/template-loader.php(106): include('/var/www/wp-con...') #6 /var/www/wp-blog-header.php(19): require_once('/var/www/wp-inc...') #7 /var/www/index.php(17): require('/var/www/wp-blo...') #8 {main} thrown in /var/www/wp-content/themes/canvas/footer.php on line 1

Warning: array_search() expects parameter 2 to be array, string given in /var/www/wp-content/mu-plugins/gd-system-plugin/plugins/worker/init.php on line 59