| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
<!DOCTYPE html> |
| 6 |
<html lang="en" class=""> |
| 7 |
<head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# object: http://ogp.me/ns/object# article: http://ogp.me/ns/article# profile: http://ogp.me/ns/profile#"> |
| 8 |
<meta charset='utf-8'> |
| 9 |
|
| 10 |
|
| 11 |
<link crossorigin="anonymous" href="https://assets-cdn.github.com/assets/frameworks-3a71f36dec04358c4f2f42280fb2cf5c38856f935a3f609eab0a1ae31b1d635a.css" media="all" rel="stylesheet" /> |
| 12 |
<link crossorigin="anonymous" href="https://assets-cdn.github.com/assets/github-5c885e880e980dc7f119393287b84906d930ccaff83f6bff8ae2c086b87ca4d8.css" media="all" rel="stylesheet" /> |
| 13 |
|
| 14 |
|
| 15 |
<link crossorigin="anonymous" href="https://assets-cdn.github.com/assets/site-4ef7bbe907458c89cb1f7f5c5e6c4cd87e03acf66b1817325e644920d2a83330.css" media="all" rel="stylesheet" /> |
| 16 |
|
| 17 |
|
| 18 |
<link as="script" href="https://assets-cdn.github.com/assets/frameworks-88471af1fec40ff9418efbe2ddd15b6896af8d772f8179004c254dffc25ea490.js" rel="preload" /> |
| 19 |
|
| 20 |
<link as="script" href="https://assets-cdn.github.com/assets/github-e18e11a943ff2eb9394c72d4ec8b76592c454915b5839ae177d422777a046e29.js" rel="preload" /> |
| 21 |
|
| 22 |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> |
| 23 |
<meta http-equiv="Content-Language" content="en"> |
| 24 |
<meta name="viewport" content="width=device-width"> |
| 25 |
|
| 26 |
<title>nativejson-benchmark/conformance_Nlohmann (C++11).md at master · miloyip/nativejson-benchmark · GitHub</title> |
| 27 |
<link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="GitHub"> |
| 28 |
<link rel="fluid-icon" href="https://github.com/fluidicon.png" title="GitHub"> |
| 29 |
<link rel="apple-touch-icon" href="/apple-touch-icon.png"> |
| 30 |
<link rel="apple-touch-icon" sizes="57x57" href="/apple-touch-icon-57x57.png"> |
| 31 |
<link rel="apple-touch-icon" sizes="60x60" href="/apple-touch-icon-60x60.png"> |
| 32 |
<link rel="apple-touch-icon" sizes="72x72" href="/apple-touch-icon-72x72.png"> |
| 33 |
<link rel="apple-touch-icon" sizes="76x76" href="/apple-touch-icon-76x76.png"> |
| 34 |
<link rel="apple-touch-icon" sizes="114x114" href="/apple-touch-icon-114x114.png"> |
| 35 |
<link rel="apple-touch-icon" sizes="120x120" href="/apple-touch-icon-120x120.png"> |
| 36 |
<link rel="apple-touch-icon" sizes="144x144" href="/apple-touch-icon-144x144.png"> |
| 37 |
<link rel="apple-touch-icon" sizes="152x152" href="/apple-touch-icon-152x152.png"> |
| 38 |
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon-180x180.png"> |
| 39 |
<meta property="fb:app_id" content="1401488693436528"> |
| 40 |
|
| 41 |
<meta content="https://avatars2.githubusercontent.com/u/1195774?v=3&s=400" name="twitter:image:src" /><meta content="@github" name="twitter:site" /><meta content="summary" name="twitter:card" /><meta content="miloyip/nativejson-benchmark" name="twitter:title" /><meta content="nativejson-benchmark - C/C++ JSON parser/generator benchmark" name="twitter:description" /> |
| 42 |
<meta content="https://avatars2.githubusercontent.com/u/1195774?v=3&s=400" property="og:image" /><meta content="GitHub" property="og:site_name" /><meta content="object" property="og:type" /><meta content="miloyip/nativejson-benchmark" property="og:title" /><meta content="https://github.com/miloyip/nativejson-benchmark" property="og:url" /><meta content="nativejson-benchmark - C/C++ JSON parser/generator benchmark" property="og:description" /> |
| 43 |
<meta name="browser-stats-url" content="https://api.github.com/_private/browser/stats"> |
| 44 |
<meta name="browser-errors-url" content="https://api.github.com/_private/browser/errors"> |
| 45 |
<link rel="assets" href="https://assets-cdn.github.com/"> |
| 46 |
|
| 47 |
<meta name="pjax-timeout" content="1000"> |
| 48 |
|
| 49 |
<meta name="request-id" content="D4563DA7:75ED:525C921:57D6FEBB" data-pjax-transient> |
| 50 |
|
| 51 |
<meta name="msapplication-TileImage" content="/windows-tile.png"> |
| 52 |
<meta name="msapplication-TileColor" content="#ffffff"> |
| 53 |
<meta name="selected-link" value="repo_source" data-pjax-transient> |
| 54 |
|
| 55 |
<meta name="google-site-verification" content="KT5gs8h0wvaagLKAVWq8bbeNwnZZK1r1XQysX3xurLU"> |
| 56 |
<meta name="google-site-verification" content="ZzhVyEFwb7w3e0-uOTltm8Jsck2F5StVihD0exw2fsA"> |
| 57 |
<meta name="google-analytics" content="UA-3769691-2"> |
| 58 |
|
| 59 |
<meta content="collector.githubapp.com" name="octolytics-host" /><meta content="github" name="octolytics-app-id" /><meta content="D4563DA7:75ED:525C921:57D6FEBB" name="octolytics-dimension-request_id" /> |
| 60 |
<meta content="/<user-name>/<repo-name>/blob/show" data-pjax-transient="true" name="analytics-location" /> |
| 61 |
|
| 62 |
|
| 63 |
|
| 64 |
<meta class="js-ga-set" name="dimension1" content="Logged Out"> |
| 65 |
|
| 66 |
|
| 67 |
|
| 68 |
<meta name="hostname" content="github.com"> |
| 69 |
<meta name="user-login" content=""> |
| 70 |
|
| 71 |
<meta name="expected-hostname" content="github.com"> |
| 72 |
<meta name="js-proxy-site-detection-payload" content="N2RkMmY1ZjE1MTA4MzRhYTA5NDNkMjliNDU3OTA3ZTdlMGNmNDZjN2QyODBiZjM3MmYzMjFjNzY1ZjIwNjY4NHx7InJlbW90ZV9hZGRyZXNzIjoiMjEyLjg2LjYxLjE2NyIsInJlcXVlc3RfaWQiOiJENDU2M0RBNzo3NUVEOjUyNUM5MjE6NTdENkZFQkIiLCJ0aW1lc3RhbXAiOjE0NzM3MDc3MDh9"> |
| 73 |
|
| 74 |
|
| 75 |
<link rel="mask-icon" href="https://assets-cdn.github.com/pinned-octocat.svg" color="#4078c0"> |
| 76 |
<link rel="icon" type="image/x-icon" href="https://assets-cdn.github.com/favicon.ico"> |
| 77 |
|
| 78 |
<meta name="html-safe-nonce" content="deea0f406df2fb95709865c5ee80a255d8c47fa9"> |
| 79 |
<meta content="736eea9d74cf34fe850d2180e8a5f0a1cc7bc0be" name="form-nonce" /> |
| 80 |
|
| 81 |
<meta http-equiv="x-pjax-version" content="f302977937abe3fe1c9a4d4bed913565"> |
| 82 |
|
| 83 |
|
| 84 |
|
| 85 |
<meta name="description" content="nativejson-benchmark - C/C++ JSON parser/generator benchmark"> |
| 86 |
<meta name="go-import" content="github.com/miloyip/nativejson-benchmark git https://github.com/miloyip/nativejson-benchmark.git"> |
| 87 |
|
| 88 |
<meta content="1195774" name="octolytics-dimension-user_id" /><meta content="miloyip" name="octolytics-dimension-user_login" /><meta content="22976798" name="octolytics-dimension-repository_id" /><meta content="miloyip/nativejson-benchmark" name="octolytics-dimension-repository_nwo" /><meta content="true" name="octolytics-dimension-repository_public" /><meta content="false" name="octolytics-dimension-repository_is_fork" /><meta content="22976798" name="octolytics-dimension-repository_network_root_id" /><meta content="miloyip/nativejson-benchmark" name="octolytics-dimension-repository_network_root_nwo" /> |
| 89 |
<link href="https://github.com/miloyip/nativejson-benchmark/commits/master.atom" rel="alternate" title="Recent Commits to nativejson-benchmark:master" type="application/atom+xml"> |
| 90 |
|
| 91 |
|
| 92 |
<link rel="canonical" href="https://github.com/miloyip/nativejson-benchmark/blob/master/sample/conformance_Nlohmann%20(C%2B%2B11).md" data-pjax-transient> |
| 93 |
</head> |
| 94 |
|
| 95 |
|
| 96 |
<body class="logged-out env-production vis-public page-blob"> |
| 97 |
<div id="js-pjax-loader-bar" class="pjax-loader-bar"><div class="progress"></div></div> |
| 98 |
<a href="#start-of-content" tabindex="1" class="accessibility-aid js-skip-to-content">Skip to content</a> |
| 99 |
|
| 100 |
|
| 101 |
|
| 102 |
|
| 103 |
|
| 104 |
|
| 105 |
|
| 106 |
<header class="site-header js-details-container" role="banner"> |
| 107 |
<div class="container-responsive"> |
| 108 |
<a class="header-logo-invertocat" href="https://github.com/" aria-label="Homepage" data-ga-click="(Logged out) Header, go to homepage, icon:logo-wordmark"> |
| 109 |
<svg aria-hidden="true" class="octicon octicon-mark-github" height="32" version="1.1" viewBox="0 0 16 16" width="32"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"></path></svg> |
| 110 |
</a> |
| 111 |
|
| 112 |
<button class="btn-link float-right site-header-toggle js-details-target" type="button" aria-label="Toggle navigation"> |
| 113 |
<svg aria-hidden="true" class="octicon octicon-three-bars" height="24" version="1.1" viewBox="0 0 12 16" width="18"><path d="M11.41 9H.59C0 9 0 8.59 0 8c0-.59 0-1 .59-1H11.4c.59 0 .59.41.59 1 0 .59 0 1-.59 1h.01zm0-4H.59C0 5 0 4.59 0 4c0-.59 0-1 .59-1H11.4c.59 0 .59.41.59 1 0 .59 0 1-.59 1h.01zM.59 11H11.4c.59 0 .59.41.59 1 0 .59 0 1-.59 1H.59C0 13 0 12.59 0 12c0-.59 0-1 .59-1z"></path></svg> |
| 114 |
</button> |
| 115 |
|
| 116 |
<div class="site-header-menu"> |
| 117 |
<nav class="site-header-nav site-header-nav-main"> |
| 118 |
<a href="/personal" class="js-selected-navigation-item nav-item nav-item-personal" data-ga-click="Header, click, Nav menu - item:personal" data-selected-links="/personal /personal"> |
| 119 |
Personal |
| 120 |
</a> <a href="/open-source" class="js-selected-navigation-item nav-item nav-item-opensource" data-ga-click="Header, click, Nav menu - item:opensource" data-selected-links="/open-source /open-source"> |
| 121 |
Open source |
| 122 |
</a> <a href="/business" class="js-selected-navigation-item nav-item nav-item-business" data-ga-click="Header, click, Nav menu - item:business" data-selected-links="/business /business/partners /business/features /business/customers /business"> |
| 123 |
Business |
| 124 |
</a> <a href="/explore" class="js-selected-navigation-item nav-item nav-item-explore" data-ga-click="Header, click, Nav menu - item:explore" data-selected-links="/explore /trending /trending/developers /integrations /integrations/feature/code /integrations/feature/collaborate /integrations/feature/ship /explore"> |
| 125 |
Explore |
| 126 |
</a> </nav> |
| 127 |
|
| 128 |
<div class="site-header-actions"> |
| 129 |
<a class="btn btn-primary site-header-actions-btn" href="/join?source=header-repo" data-ga-click="(Logged out) Header, clicked Sign up, text:sign-up">Sign up</a> |
| 130 |
<a class="btn site-header-actions-btn mr-2" href="/login?return_to=%2Fmiloyip%2Fnativejson-benchmark%2Fblob%2Fmaster%2Fsample%2Fconformance_Nlohmann%2520%28C%252B%252B11%29.md" data-ga-click="(Logged out) Header, clicked Sign in, text:sign-in">Sign in</a> |
| 131 |
</div> |
| 132 |
|
| 133 |
<nav class="site-header-nav site-header-nav-secondary"> |
| 134 |
<a class="nav-item" href="/pricing">Pricing</a> |
| 135 |
<a class="nav-item" href="/blog">Blog</a> |
| 136 |
<a class="nav-item" href="https://help.github.com">Support</a> |
| 137 |
<a class="nav-item header-search-link" href="https://github.com/search">Search GitHub</a> |
| 138 |
<div class="header-search scoped-search site-scoped-search js-site-search" role="search"> |
| 139 |
<!-- </textarea> --><!-- '"` --><form accept-charset="UTF-8" action="/miloyip/nativejson-benchmark/search" class="js-site-search-form" data-scoped-search-url="/miloyip/nativejson-benchmark/search" data-unscoped-search-url="/search" method="get"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="✓" /></div> |
| 140 |
<label class="form-control header-search-wrapper js-chromeless-input-container"> |
| 141 |
<div class="header-search-scope">This repository</div> |
| 142 |
<input type="text" |
| 143 |
class="form-control header-search-input js-site-search-focus js-site-search-field is-clearable" |
| 144 |
data-hotkey="s" |
| 145 |
name="q" |
| 146 |
placeholder="Search" |
| 147 |
aria-label="Search this repository" |
| 148 |
data-unscoped-placeholder="Search GitHub" |
| 149 |
data-scoped-placeholder="Search" |
| 150 |
autocapitalize="off"> |
| 151 |
</label> |
| 152 |
</form></div> |
| 153 |
|
| 154 |
</nav> |
| 155 |
</div> |
| 156 |
</div> |
| 157 |
</header> |
| 158 |
|
| 159 |
|
| 160 |
|
| 161 |
<div id="start-of-content" class="accessibility-aid"></div> |
| 162 |
|
| 163 |
<div id="js-flash-container"> |
| 164 |
</div> |
| 165 |
|
| 166 |
|
| 167 |
<div role="main"> |
| 168 |
<div itemscope itemtype="http://schema.org/SoftwareSourceCode"> |
| 169 |
<div id="js-repo-pjax-container" data-pjax-container> |
| 170 |
|
| 171 |
<div class="pagehead repohead instapaper_ignore readability-menu experiment-repo-nav"> |
| 172 |
<div class="container repohead-details-container"> |
| 173 |
|
| 174 |
|
| 175 |
|
| 176 |
<ul class="pagehead-actions"> |
| 177 |
|
| 178 |
<li> |
| 179 |
<a href="/login?return_to=%2Fmiloyip%2Fnativejson-benchmark" |
| 180 |
class="btn btn-sm btn-with-count tooltipped tooltipped-n" |
| 181 |
aria-label="You must be signed in to watch a repository" rel="nofollow"> |
| 182 |
<svg aria-hidden="true" class="octicon octicon-eye" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path d="M8.06 2C3 2 0 8 0 8s3 6 8.06 6C13 14 16 8 16 8s-3-6-7.94-6zM8 12c-2.2 0-4-1.78-4-4 0-2.2 1.8-4 4-4 2.22 0 4 1.8 4 4 0 2.22-1.78 4-4 4zm2-4c0 1.11-.89 2-2 2-1.11 0-2-.89-2-2 0-1.11.89-2 2-2 1.11 0 2 .89 2 2z"></path></svg> |
| 183 |
Watch |
| 184 |
</a> |
| 185 |
<a class="social-count" href="/miloyip/nativejson-benchmark/watchers" |
| 186 |
aria-label="40 users are watching this repository"> |
| 187 |
40 |
| 188 |
</a> |
| 189 |
|
| 190 |
</li> |
| 191 |
|
| 192 |
<li> |
| 193 |
<a href="/login?return_to=%2Fmiloyip%2Fnativejson-benchmark" |
| 194 |
class="btn btn-sm btn-with-count tooltipped tooltipped-n" |
| 195 |
aria-label="You must be signed in to star a repository" rel="nofollow"> |
| 196 |
<svg aria-hidden="true" class="octicon octicon-star" height="16" version="1.1" viewBox="0 0 14 16" width="14"><path d="M14 6l-4.9-.64L7 1 4.9 5.36 0 6l3.6 3.26L2.67 14 7 11.67 11.33 14l-.93-4.74z"></path></svg> |
| 197 |
Star |
| 198 |
</a> |
| 199 |
|
| 200 |
<a class="social-count js-social-count" href="/miloyip/nativejson-benchmark/stargazers" |
| 201 |
aria-label="352 users starred this repository"> |
| 202 |
352 |
| 203 |
</a> |
| 204 |
|
| 205 |
</li> |
| 206 |
|
| 207 |
<li> |
| 208 |
<a href="/login?return_to=%2Fmiloyip%2Fnativejson-benchmark" |
| 209 |
class="btn btn-sm btn-with-count tooltipped tooltipped-n" |
| 210 |
aria-label="You must be signed in to fork a repository" rel="nofollow"> |
| 211 |
<svg aria-hidden="true" class="octicon octicon-repo-forked" height="16" version="1.1" viewBox="0 0 10 16" width="10"><path d="M8 1a1.993 1.993 0 0 0-1 3.72V6L5 8 3 6V4.72A1.993 1.993 0 0 0 2 1a1.993 1.993 0 0 0-1 3.72V6.5l3 3v1.78A1.993 1.993 0 0 0 5 15a1.993 1.993 0 0 0 1-3.72V9.5l3-3V4.72A1.993 1.993 0 0 0 8 1zM2 4.2C1.34 4.2.8 3.65.8 3c0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zm3 10c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zm3-10c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2z"></path></svg> |
| 212 |
Fork |
| 213 |
</a> |
| 214 |
|
| 215 |
<a href="/miloyip/nativejson-benchmark/network" class="social-count" |
| 216 |
aria-label="59 users are forked this repository"> |
| 217 |
59 |
| 218 |
</a> |
| 219 |
</li> |
| 220 |
</ul> |
| 221 |
|
| 222 |
<h1 class="public "> |
| 223 |
<svg aria-hidden="true" class="octicon octicon-repo" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path d="M4 9H3V8h1v1zm0-3H3v1h1V6zm0-2H3v1h1V4zm0-2H3v1h1V2zm8-1v12c0 .55-.45 1-1 1H6v2l-1.5-1.5L3 16v-2H1c-.55 0-1-.45-1-1V1c0-.55.45-1 1-1h10c.55 0 1 .45 1 1zm-1 10H1v2h2v-1h3v1h5v-2zm0-10H2v9h9V1z"></path></svg> |
| 224 |
<span class="author" itemprop="author"><a href="/miloyip" class="url fn" rel="author">miloyip</a></span><!-- |
| 225 |
--><span class="path-divider">/</span><!-- |
| 226 |
--><strong itemprop="name"><a href="/miloyip/nativejson-benchmark" data-pjax="#js-repo-pjax-container">nativejson-benchmark</a></strong> |
| 227 |
|
| 228 |
</h1> |
| 229 |
|
| 230 |
</div> |
| 231 |
<div class="container"> |
| 232 |
|
| 233 |
<nav class="reponav js-repo-nav js-sidenav-container-pjax" |
| 234 |
itemscope |
| 235 |
itemtype="http://schema.org/BreadcrumbList" |
| 236 |
role="navigation" |
| 237 |
data-pjax="#js-repo-pjax-container"> |
| 238 |
|
| 239 |
<span itemscope itemtype="http://schema.org/ListItem" itemprop="itemListElement"> |
| 240 |
<a href="/miloyip/nativejson-benchmark" aria-selected="true" class="js-selected-navigation-item selected reponav-item" data-hotkey="g c" data-selected-links="repo_source repo_downloads repo_commits repo_releases repo_tags repo_branches /miloyip/nativejson-benchmark" itemprop="url"> |
| 241 |
<svg aria-hidden="true" class="octicon octicon-code" height="16" version="1.1" viewBox="0 0 14 16" width="14"><path d="M9.5 3L8 4.5 11.5 8 8 11.5 9.5 13 14 8 9.5 3zm-5 0L0 8l4.5 5L6 11.5 2.5 8 6 4.5 4.5 3z"></path></svg> |
| 242 |
<span itemprop="name">Code</span> |
| 243 |
<meta itemprop="position" content="1"> |
| 244 |
</a> </span> |
| 245 |
|
| 246 |
<span itemscope itemtype="http://schema.org/ListItem" itemprop="itemListElement"> |
| 247 |
<a href="/miloyip/nativejson-benchmark/issues" class="js-selected-navigation-item reponav-item" data-hotkey="g i" data-selected-links="repo_issues repo_labels repo_milestones /miloyip/nativejson-benchmark/issues" itemprop="url"> |
| 248 |
<svg aria-hidden="true" class="octicon octicon-issue-opened" height="16" version="1.1" viewBox="0 0 14 16" width="14"><path d="M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"></path></svg> |
| 249 |
<span itemprop="name">Issues</span> |
| 250 |
<span class="counter">8</span> |
| 251 |
<meta itemprop="position" content="2"> |
| 252 |
</a> </span> |
| 253 |
|
| 254 |
<span itemscope itemtype="http://schema.org/ListItem" itemprop="itemListElement"> |
| 255 |
<a href="/miloyip/nativejson-benchmark/pulls" class="js-selected-navigation-item reponav-item" data-hotkey="g p" data-selected-links="repo_pulls /miloyip/nativejson-benchmark/pulls" itemprop="url"> |
| 256 |
<svg aria-hidden="true" class="octicon octicon-git-pull-request" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path d="M11 11.28V5c-.03-.78-.34-1.47-.94-2.06C9.46 2.35 8.78 2.03 8 2H7V0L4 3l3 3V4h1c.27.02.48.11.69.31.21.2.3.42.31.69v6.28A1.993 1.993 0 0 0 10 15a1.993 1.993 0 0 0 1-3.72zm-1 2.92c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zM4 3c0-1.11-.89-2-2-2a1.993 1.993 0 0 0-1 3.72v6.56A1.993 1.993 0 0 0 2 15a1.993 1.993 0 0 0 1-3.72V4.72c.59-.34 1-.98 1-1.72zm-.8 10c0 .66-.55 1.2-1.2 1.2-.65 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2zM2 4.2C1.34 4.2.8 3.65.8 3c0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2z"></path></svg> |
| 257 |
<span itemprop="name">Pull requests</span> |
| 258 |
<span class="counter">1</span> |
| 259 |
<meta itemprop="position" content="3"> |
| 260 |
</a> </span> |
| 261 |
|
| 262 |
|
| 263 |
|
| 264 |
|
| 265 |
<a href="/miloyip/nativejson-benchmark/pulse" class="js-selected-navigation-item reponav-item" data-selected-links="pulse /miloyip/nativejson-benchmark/pulse"> |
| 266 |
<svg aria-hidden="true" class="octicon octicon-pulse" height="16" version="1.1" viewBox="0 0 14 16" width="14"><path d="M11.5 8L8.8 5.4 6.6 8.5 5.5 1.6 2.38 8H0v2h3.6l.9-1.8.9 5.4L9 8.5l1.6 1.5H14V8z"></path></svg> |
| 267 |
Pulse |
| 268 |
</a> |
| 269 |
<a href="/miloyip/nativejson-benchmark/graphs" class="js-selected-navigation-item reponav-item" data-selected-links="repo_graphs repo_contributors /miloyip/nativejson-benchmark/graphs"> |
| 270 |
<svg aria-hidden="true" class="octicon octicon-graph" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path d="M16 14v1H0V0h1v14h15zM5 13H3V8h2v5zm4 0H7V3h2v10zm4 0h-2V6h2v7z"></path></svg> |
| 271 |
Graphs |
| 272 |
</a> |
| 273 |
|
| 274 |
</nav> |
| 275 |
|
| 276 |
</div> |
| 277 |
</div> |
| 278 |
|
| 279 |
<div class="container new-discussion-timeline experiment-repo-nav"> |
| 280 |
<div class="repository-content"> |
| 281 |
|
| 282 |
|
| 283 |
|
| 284 |
<a href="/miloyip/nativejson-benchmark/blob/95f27ebcf9a96c7ca4cee26467ed5420140090fb/sample/conformance_Nlohmann%20(C%2B%2B11).md" class="d-none js-permalink-shortcut" data-hotkey="y">Permalink</a> |
| 285 |
|
| 286 |
<!-- blob contrib key: blob_contributors:v21:0bf9e3593dedd91db6c9dc69e13b7f95 --> |
| 287 |
|
| 288 |
<div class="file-navigation js-zeroclipboard-container"> |
| 289 |
|
| 290 |
<div class="select-menu branch-select-menu js-menu-container js-select-menu float-left"> |
| 291 |
<button class="btn btn-sm select-menu-button js-menu-target css-truncate" data-hotkey="w" |
| 292 |
|
| 293 |
type="button" aria-label="Switch branches or tags" tabindex="0" aria-haspopup="true"> |
| 294 |
<i>Branch:</i> |
| 295 |
<span class="js-select-button css-truncate-target">master</span> |
| 296 |
</button> |
| 297 |
|
| 298 |
<div class="select-menu-modal-holder js-menu-content js-navigation-container" data-pjax aria-hidden="true"> |
| 299 |
|
| 300 |
<div class="select-menu-modal"> |
| 301 |
<div class="select-menu-header"> |
| 302 |
<svg aria-label="Close" class="octicon octicon-x js-menu-close" height="16" role="img" version="1.1" viewBox="0 0 12 16" width="12"><path d="M7.48 8l3.75 3.75-1.48 1.48L6 9.48l-3.75 3.75-1.48-1.48L4.52 8 .77 4.25l1.48-1.48L6 6.52l3.75-3.75 1.48 1.48z"></path></svg> |
| 303 |
<span class="select-menu-title">Switch branches/tags</span> |
| 304 |
</div> |
| 305 |
|
| 306 |
<div class="select-menu-filters"> |
| 307 |
<div class="select-menu-text-filter"> |
| 308 |
<input type="text" aria-label="Filter branches/tags" id="context-commitish-filter-field" class="form-control js-filterable-field js-navigation-enable" placeholder="Filter branches/tags"> |
| 309 |
</div> |
| 310 |
<div class="select-menu-tabs"> |
| 311 |
<ul> |
| 312 |
<li class="select-menu-tab"> |
| 313 |
<a href="#" data-tab-filter="branches" data-filter-placeholder="Filter branches/tags" class="js-select-menu-tab" role="tab">Branches</a> |
| 314 |
</li> |
| 315 |
<li class="select-menu-tab"> |
| 316 |
<a href="#" data-tab-filter="tags" data-filter-placeholder="Find a tag…" class="js-select-menu-tab" role="tab">Tags</a> |
| 317 |
</li> |
| 318 |
</ul> |
| 319 |
</div> |
| 320 |
</div> |
| 321 |
|
| 322 |
<div class="select-menu-list select-menu-tab-bucket js-select-menu-tab-bucket" data-tab-filter="branches" role="menu"> |
| 323 |
|
| 324 |
<div data-filterable-for="context-commitish-filter-field" data-filterable-type="substring"> |
| 325 |
|
| 326 |
|
| 327 |
<a class="select-menu-item js-navigation-item js-navigation-open " |
| 328 |
href="/miloyip/nativejson-benchmark/blob/Stixjson/sample/conformance_Nlohmann%20(C++11).md" |
| 329 |
data-name="Stixjson" |
| 330 |
data-skip-pjax="true" |
| 331 |
rel="nofollow"> |
| 332 |
<svg aria-hidden="true" class="octicon octicon-check select-menu-item-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path d="M12 5l-8 8-4-4 1.5-1.5L4 10l6.5-6.5z"></path></svg> |
| 333 |
<span class="select-menu-item-text css-truncate-target js-select-menu-filter-text"> |
| 334 |
Stixjson |
| 335 |
</span> |
| 336 |
</a> |
| 337 |
<a class="select-menu-item js-navigation-item js-navigation-open " |
| 338 |
href="/miloyip/nativejson-benchmark/blob/ccan/sample/conformance_Nlohmann%20(C++11).md" |
| 339 |
data-name="ccan" |
| 340 |
data-skip-pjax="true" |
| 341 |
rel="nofollow"> |
| 342 |
<svg aria-hidden="true" class="octicon octicon-check select-menu-item-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path d="M12 5l-8 8-4-4 1.5-1.5L4 10l6.5-6.5z"></path></svg> |
| 343 |
<span class="select-menu-item-text css-truncate-target js-select-menu-filter-text"> |
| 344 |
ccan |
| 345 |
</span> |
| 346 |
</a> |
| 347 |
<a class="select-menu-item js-navigation-item js-navigation-open " |
| 348 |
href="/miloyip/nativejson-benchmark/blob/jbson/sample/conformance_Nlohmann%20(C++11).md" |
| 349 |
data-name="jbson" |
| 350 |
data-skip-pjax="true" |
| 351 |
rel="nofollow"> |
| 352 |
<svg aria-hidden="true" class="octicon octicon-check select-menu-item-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path d="M12 5l-8 8-4-4 1.5-1.5L4 10l6.5-6.5z"></path></svg> |
| 353 |
<span class="select-menu-item-text css-truncate-target js-select-menu-filter-text"> |
| 354 |
jbson |
| 355 |
</span> |
| 356 |
</a> |
| 357 |
<a class="select-menu-item js-navigation-item js-navigation-open " |
| 358 |
href="/miloyip/nativejson-benchmark/blob/jute/sample/conformance_Nlohmann%20(C++11).md" |
| 359 |
data-name="jute" |
| 360 |
data-skip-pjax="true" |
| 361 |
rel="nofollow"> |
| 362 |
<svg aria-hidden="true" class="octicon octicon-check select-menu-item-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path d="M12 5l-8 8-4-4 1.5-1.5L4 10l6.5-6.5z"></path></svg> |
| 363 |
<span class="select-menu-item-text css-truncate-target js-select-menu-filter-text"> |
| 364 |
jute |
| 365 |
</span> |
| 366 |
</a> |
| 367 |
<a class="select-menu-item js-navigation-item js-navigation-open " |
| 368 |
href="/miloyip/nativejson-benchmark/blob/lastjson/sample/conformance_Nlohmann%20(C++11).md" |
| 369 |
data-name="lastjson" |
| 370 |
data-skip-pjax="true" |
| 371 |
rel="nofollow"> |
| 372 |
<svg aria-hidden="true" class="octicon octicon-check select-menu-item-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path d="M12 5l-8 8-4-4 1.5-1.5L4 10l6.5-6.5z"></path></svg> |
| 373 |
<span class="select-menu-item-text css-truncate-target js-select-menu-filter-text"> |
| 374 |
lastjson |
| 375 |
</span> |
| 376 |
</a> |
| 377 |
<a class="select-menu-item js-navigation-item js-navigation-open " |
| 378 |
href="/miloyip/nativejson-benchmark/blob/libjson/sample/conformance_Nlohmann%20(C++11).md" |
| 379 |
data-name="libjson" |
| 380 |
data-skip-pjax="true" |
| 381 |
rel="nofollow"> |
| 382 |
<svg aria-hidden="true" class="octicon octicon-check select-menu-item-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path d="M12 5l-8 8-4-4 1.5-1.5L4 10l6.5-6.5z"></path></svg> |
| 383 |
<span class="select-menu-item-text css-truncate-target js-select-menu-filter-text"> |
| 384 |
libjson |
| 385 |
</span> |
| 386 |
</a> |
| 387 |
<a class="select-menu-item js-navigation-item js-navigation-open selected" |
| 388 |
href="/miloyip/nativejson-benchmark/blob/master/sample/conformance_Nlohmann%20(C++11).md" |
| 389 |
data-name="master" |
| 390 |
data-skip-pjax="true" |
| 391 |
rel="nofollow"> |
| 392 |
<svg aria-hidden="true" class="octicon octicon-check select-menu-item-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path d="M12 5l-8 8-4-4 1.5-1.5L4 10l6.5-6.5z"></path></svg> |
| 393 |
<span class="select-menu-item-text css-truncate-target js-select-menu-filter-text"> |
| 394 |
master |
| 395 |
</span> |
| 396 |
</a> |
| 397 |
<a class="select-menu-item js-navigation-item js-navigation-open " |
| 398 |
href="/miloyip/nativejson-benchmark/blob/qt/sample/conformance_Nlohmann%20(C++11).md" |
| 399 |
data-name="qt" |
| 400 |
data-skip-pjax="true" |
| 401 |
rel="nofollow"> |
| 402 |
<svg aria-hidden="true" class="octicon octicon-check select-menu-item-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path d="M12 5l-8 8-4-4 1.5-1.5L4 10l6.5-6.5z"></path></svg> |
| 403 |
<span class="select-menu-item-text css-truncate-target js-select-menu-filter-text"> |
| 404 |
qt |
| 405 |
</span> |
| 406 |
</a> |
| 407 |
<a class="select-menu-item js-navigation-item js-navigation-open " |
| 408 |
href="/miloyip/nativejson-benchmark/blob/tunnuz/sample/conformance_Nlohmann%20(C++11).md" |
| 409 |
data-name="tunnuz" |
| 410 |
data-skip-pjax="true" |
| 411 |
rel="nofollow"> |
| 412 |
<svg aria-hidden="true" class="octicon octicon-check select-menu-item-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path d="M12 5l-8 8-4-4 1.5-1.5L4 10l6.5-6.5z"></path></svg> |
| 413 |
<span class="select-menu-item-text css-truncate-target js-select-menu-filter-text"> |
| 414 |
tunnuz |
| 415 |
</span> |
| 416 |
</a> |
| 417 |
<a class="select-menu-item js-navigation-item js-navigation-open " |
| 418 |
href="/miloyip/nativejson-benchmark/blob/ujson/sample/conformance_Nlohmann%20(C++11).md" |
| 419 |
data-name="ujson" |
| 420 |
data-skip-pjax="true" |
| 421 |
rel="nofollow"> |
| 422 |
<svg aria-hidden="true" class="octicon octicon-check select-menu-item-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path d="M12 5l-8 8-4-4 1.5-1.5L4 10l6.5-6.5z"></path></svg> |
| 423 |
<span class="select-menu-item-text css-truncate-target js-select-menu-filter-text"> |
| 424 |
ujson |
| 425 |
</span> |
| 426 |
</a> |
| 427 |
</div> |
| 428 |
|
| 429 |
<div class="select-menu-no-results">Nothing to show</div> |
| 430 |
</div> |
| 431 |
|
| 432 |
<div class="select-menu-list select-menu-tab-bucket js-select-menu-tab-bucket" data-tab-filter="tags"> |
| 433 |
<div data-filterable-for="context-commitish-filter-field" data-filterable-type="substring"> |
| 434 |
|
| 435 |
|
| 436 |
<a class="select-menu-item js-navigation-item js-navigation-open " |
| 437 |
href="/miloyip/nativejson-benchmark/tree/v1.0.0/sample/conformance_Nlohmann%20(C%2B%2B11).md" |
| 438 |
data-name="v1.0.0" |
| 439 |
data-skip-pjax="true" |
| 440 |
rel="nofollow"> |
| 441 |
<svg aria-hidden="true" class="octicon octicon-check select-menu-item-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path d="M12 5l-8 8-4-4 1.5-1.5L4 10l6.5-6.5z"></path></svg> |
| 442 |
<span class="select-menu-item-text css-truncate-target" title="v1.0.0"> |
| 443 |
v1.0.0 |
| 444 |
</span> |
| 445 |
</a> |
| 446 |
</div> |
| 447 |
|
| 448 |
<div class="select-menu-no-results">Nothing to show</div> |
| 449 |
</div> |
| 450 |
|
| 451 |
</div> |
| 452 |
</div> |
| 453 |
</div> |
| 454 |
|
| 455 |
<div class="btn-group float-right"> |
| 456 |
<a href="/miloyip/nativejson-benchmark/find/master" |
| 457 |
class="js-pjax-capture-input btn btn-sm" |
| 458 |
data-pjax |
| 459 |
data-hotkey="t"> |
| 460 |
Find file |
| 461 |
</a> |
| 462 |
<button aria-label="Copy file path to clipboard" class="js-zeroclipboard btn btn-sm zeroclipboard-button tooltipped tooltipped-s" data-copied-hint="Copied!" type="button">Copy path</button> |
| 463 |
</div> |
| 464 |
<div class="breadcrumb js-zeroclipboard-target"> |
| 465 |
<span class="repo-root js-repo-root"><span class="js-path-segment"><a href="/miloyip/nativejson-benchmark"><span>nativejson-benchmark</span></a></span></span><span class="separator">/</span><span class="js-path-segment"><a href="/miloyip/nativejson-benchmark/tree/master/sample"><span>sample</span></a></span><span class="separator">/</span><strong class="final-path">conformance_Nlohmann (C++11).md</strong> |
| 466 |
</div> |
| 467 |
</div> |
| 468 |
|
| 469 |
|
| 470 |
<div class="commit-tease"> |
| 471 |
<span class="float-right"> |
| 472 |
<a class="commit-tease-sha" href="/miloyip/nativejson-benchmark/commit/a4a9f10f41c515d6abb0f019ab9f5d021ed4bb9e" data-pjax> |
| 473 |
a4a9f10 |
| 474 |
</a> |
| 475 |
<relative-time datetime="2016-09-09T03:15:21Z">Sep 9, 2016</relative-time> |
| 476 |
</span> |
| 477 |
<div> |
| 478 |
<img alt="@miloyip" class="avatar" height="20" src="https://avatars3.githubusercontent.com/u/1195774?v=3&s=40" width="20" /> |
| 479 |
<a href="/miloyip" class="user-mention" rel="author">miloyip</a> |
| 480 |
<a href="/miloyip/nativejson-benchmark/commit/a4a9f10f41c515d6abb0f019ab9f5d021ed4bb9e" class="message" data-pjax="true" title="Update sample result for 41 libraries |
| 481 |
|
| 482 |
Fixed #43">Update sample result for 41 libraries</a> |
| 483 |
</div> |
| 484 |
|
| 485 |
<div class="commit-tease-contributors"> |
| 486 |
<button type="button" class="btn-link muted-link contributors-toggle" data-facebox="#blob_contributors_box"> |
| 487 |
<strong>1</strong> |
| 488 |
contributor |
| 489 |
</button> |
| 490 |
|
| 491 |
</div> |
| 492 |
|
| 493 |
<div id="blob_contributors_box" style="display:none"> |
| 494 |
<h2 class="facebox-header" data-facebox-id="facebox-header">Users who have contributed to this file</h2> |
| 495 |
<ul class="facebox-user-list" data-facebox-id="facebox-description"> |
| 496 |
<li class="facebox-user-list-item"> |
| 497 |
<img alt="@miloyip" height="24" src="https://avatars1.githubusercontent.com/u/1195774?v=3&s=48" width="24" /> |
| 498 |
<a href="/miloyip">miloyip</a> |
| 499 |
</li> |
| 500 |
</ul> |
| 501 |
</div> |
| 502 |
</div> |
| 503 |
|
| 504 |
<div class="file"> |
| 505 |
<div class="file-header"> |
| 506 |
<div class="file-actions"> |
| 507 |
|
| 508 |
<div class="btn-group"> |
| 509 |
<a href="/miloyip/nativejson-benchmark/raw/master/sample/conformance_Nlohmann%20(C%2B%2B11).md" class="btn btn-sm " id="raw-url">Raw</a> |
| 510 |
<a href="/miloyip/nativejson-benchmark/blame/master/sample/conformance_Nlohmann%20(C%2B%2B11).md" class="btn btn-sm js-update-url-with-hash">Blame</a> |
| 511 |
<a href="/miloyip/nativejson-benchmark/commits/master/sample/conformance_Nlohmann%20(C%2B%2B11).md" class="btn btn-sm " rel="nofollow">History</a> |
| 512 |
</div> |
| 513 |
|
| 514 |
|
| 515 |
<button type="button" class="btn-octicon disabled tooltipped tooltipped-nw" |
| 516 |
aria-label="You must be signed in to make or propose changes"> |
| 517 |
<svg aria-hidden="true" class="octicon octicon-pencil" height="16" version="1.1" viewBox="0 0 14 16" width="14"><path d="M0 12v3h3l8-8-3-3-8 8zm3 2H1v-2h1v1h1v1zm10.3-9.3L12 6 9 3l1.3-1.3a.996.996 0 0 1 1.41 0l1.59 1.59c.39.39.39 1.02 0 1.41z"></path></svg> |
| 518 |
</button> |
| 519 |
<button type="button" class="btn-octicon btn-octicon-danger disabled tooltipped tooltipped-nw" |
| 520 |
aria-label="You must be signed in to make or propose changes"> |
| 521 |
<svg aria-hidden="true" class="octicon octicon-trashcan" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path d="M11 2H9c0-.55-.45-1-1-1H5c-.55 0-1 .45-1 1H2c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1v9c0 .55.45 1 1 1h7c.55 0 1-.45 1-1V5c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1zm-1 12H3V5h1v8h1V5h1v8h1V5h1v8h1V5h1v9zm1-10H2V3h9v1z"></path></svg> |
| 522 |
</button> |
| 523 |
</div> |
| 524 |
|
| 525 |
<div class="file-info"> |
| 526 |
59 lines (37 sloc) |
| 527 |
<span class="file-info-divider"></span> |
| 528 |
545 Bytes |
| 529 |
</div> |
| 530 |
</div> |
| 531 |
|
| 532 |
|
| 533 |
<div id="readme" class="readme blob instapaper_body"> |
| 534 |
<article class="markdown-body entry-content" itemprop="text"><h1><a id="user-content-conformance-of-nlohmann-c11" class="anchor" href="#conformance-of-nlohmann-c11" aria-hidden="true"><svg aria-hidden="true" class="octicon octicon-link" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Conformance of Nlohmann (C++11)</h1> |
| 535 |
|
| 536 |
<h2><a id="user-content-1-parse-validation" class="anchor" href="#1-parse-validation" aria-hidden="true"><svg aria-hidden="true" class="octicon octicon-link" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>1. Parse Validation</h2> |
| 537 |
|
| 538 |
<p>Summary: 34 of 34 are correct.</p> |
| 539 |
|
| 540 |
<h2><a id="user-content-2-parse-double" class="anchor" href="#2-parse-double" aria-hidden="true"><svg aria-hidden="true" class="octicon octicon-link" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>2. Parse Double</h2> |
| 541 |
|
| 542 |
<p>Summary: 66 of 66 are correct.</p> |
| 543 |
|
| 544 |
<h2><a id="user-content-3-parse-string" class="anchor" href="#3-parse-string" aria-hidden="true"><svg aria-hidden="true" class="octicon octicon-link" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>3. Parse String</h2> |
| 545 |
|
| 546 |
<p>Summary: 9 of 9 are correct.</p> |
| 547 |
|
| 548 |
<h2><a id="user-content-4-roundtrip" class="anchor" href="#4-roundtrip" aria-hidden="true"><svg aria-hidden="true" class="octicon octicon-link" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>4. Roundtrip</h2> |
| 549 |
|
| 550 |
<ul> |
| 551 |
<li>Fail:</li> |
| 552 |
</ul> |
| 553 |
|
| 554 |
<div class="highlight highlight-source-js"><pre>[<span class="pl-c1">5e-324</span>]</pre></div> |
| 555 |
|
| 556 |
<div class="highlight highlight-source-js"><pre>[<span class="pl-c1">4.94065645841247e-324</span>]</pre></div> |
| 557 |
|
| 558 |
<ul> |
| 559 |
<li>Fail:</li> |
| 560 |
</ul> |
| 561 |
|
| 562 |
<div class="highlight highlight-source-js"><pre>[<span class="pl-c1">2.225073858507201e-308</span>]</pre></div> |
| 563 |
|
| 564 |
<div class="highlight highlight-source-js"><pre>[<span class="pl-c1">2.2250738585072e-308</span>]</pre></div> |
| 565 |
|
| 566 |
<ul> |
| 567 |
<li>Fail:</li> |
| 568 |
</ul> |
| 569 |
|
| 570 |
<div class="highlight highlight-source-js"><pre>[<span class="pl-c1">2.2250738585072014e-308</span>]</pre></div> |
| 571 |
|
| 572 |
<div class="highlight highlight-source-js"><pre>[<span class="pl-c1">2.2250738585072e-308</span>]</pre></div> |
| 573 |
|
| 574 |
<ul> |
| 575 |
<li>Fail:</li> |
| 576 |
</ul> |
| 577 |
|
| 578 |
<div class="highlight highlight-source-js"><pre>[<span class="pl-c1">1.7976931348623157e308</span>]</pre></div> |
| 579 |
|
| 580 |
<div class="highlight highlight-source-js"><pre>[<span class="pl-c1">1.79769313486232e+308</span>]</pre></div> |
| 581 |
|
| 582 |
<p>Summary: 23 of 27 are correct.</p> |
| 583 |
</article> |
| 584 |
</div> |
| 585 |
|
| 586 |
</div> |
| 587 |
|
| 588 |
<button type="button" data-facebox="#jump-to-line" data-facebox-class="linejump" data-hotkey="l" class="d-none">Jump to Line</button> |
| 589 |
<div id="jump-to-line" style="display:none"> |
| 590 |
<!-- </textarea> --><!-- '"` --><form accept-charset="UTF-8" action="" class="js-jump-to-line-form" method="get"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="✓" /></div> |
| 591 |
<input class="form-control linejump-input js-jump-to-line-field" type="text" placeholder="Jump to line…" aria-label="Jump to line" autofocus> |
| 592 |
<button type="submit" class="btn">Go</button> |
| 593 |
</form></div> |
| 594 |
|
| 595 |
</div> |
| 596 |
<div class="modal-backdrop js-touch-events"></div> |
| 597 |
</div> |
| 598 |
|
| 599 |
|
| 600 |
</div> |
| 601 |
</div> |
| 602 |
|
| 603 |
</div> |
| 604 |
|
| 605 |
<div class="container site-footer-container"> |
| 606 |
<div class="site-footer" role="contentinfo"> |
| 607 |
<ul class="site-footer-links float-right"> |
| 608 |
<li><a href="https://github.com/contact" data-ga-click="Footer, go to contact, text:contact">Contact GitHub</a></li> |
| 609 |
<li><a href="https://developer.github.com" data-ga-click="Footer, go to api, text:api">API</a></li> |
| 610 |
<li><a href="https://training.github.com" data-ga-click="Footer, go to training, text:training">Training</a></li> |
| 611 |
<li><a href="https://shop.github.com" data-ga-click="Footer, go to shop, text:shop">Shop</a></li> |
| 612 |
<li><a href="https://github.com/blog" data-ga-click="Footer, go to blog, text:blog">Blog</a></li> |
| 613 |
<li><a href="https://github.com/about" data-ga-click="Footer, go to about, text:about">About</a></li> |
| 614 |
|
| 615 |
</ul> |
| 616 |
|
| 617 |
<a href="https://github.com" aria-label="Homepage" class="site-footer-mark" title="GitHub"> |
| 618 |
<svg aria-hidden="true" class="octicon octicon-mark-github" height="24" version="1.1" viewBox="0 0 16 16" width="24"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"></path></svg> |
| 619 |
</a> |
| 620 |
<ul class="site-footer-links"> |
| 621 |
<li>© 2016 <span title="0.18611s from github-fe151-cp1-prd.iad.github.net">GitHub</span>, Inc.</li> |
| 622 |
<li><a href="https://github.com/site/terms" data-ga-click="Footer, go to terms, text:terms">Terms</a></li> |
| 623 |
<li><a href="https://github.com/site/privacy" data-ga-click="Footer, go to privacy, text:privacy">Privacy</a></li> |
| 624 |
<li><a href="https://github.com/security" data-ga-click="Footer, go to security, text:security">Security</a></li> |
| 625 |
<li><a href="https://status.github.com/" data-ga-click="Footer, go to status, text:status">Status</a></li> |
| 626 |
<li><a href="https://help.github.com" data-ga-click="Footer, go to help, text:help">Help</a></li> |
| 627 |
</ul> |
| 628 |
</div> |
| 629 |
</div> |
| 630 |
|
| 631 |
|
| 632 |
|
| 633 |
|
| 634 |
|
| 635 |
<div id="ajax-error-message" class="ajax-error-message flash flash-error"> |
| 636 |
<svg aria-hidden="true" class="octicon octicon-alert" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path d="M8.865 1.52c-.18-.31-.51-.5-.87-.5s-.69.19-.87.5L.275 13.5c-.18.31-.18.69 0 1 .19.31.52.5.87.5h13.7c.36 0 .69-.19.86-.5.17-.31.18-.69.01-1L8.865 1.52zM8.995 13h-2v-2h2v2zm0-3h-2V6h2v4z"></path></svg> |
| 637 |
<button type="button" class="flash-close js-flash-close js-ajax-error-dismiss" aria-label="Dismiss error"> |
| 638 |
<svg aria-hidden="true" class="octicon octicon-x" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path d="M7.48 8l3.75 3.75-1.48 1.48L6 9.48l-3.75 3.75-1.48-1.48L4.52 8 .77 4.25l1.48-1.48L6 6.52l3.75-3.75 1.48 1.48z"></path></svg> |
| 639 |
</button> |
| 640 |
You can't perform that action at this time. |
| 641 |
</div> |
| 642 |
|
| 643 |
|
| 644 |
<script crossorigin="anonymous" src="https://assets-cdn.github.com/assets/compat-40e365359d1c4db1e36a55be458e60f2b7c24d58b5a00ae13398480e7ba768e0.js"></script> |
| 645 |
<script crossorigin="anonymous" src="https://assets-cdn.github.com/assets/frameworks-88471af1fec40ff9418efbe2ddd15b6896af8d772f8179004c254dffc25ea490.js"></script> |
| 646 |
<script async="async" crossorigin="anonymous" src="https://assets-cdn.github.com/assets/github-e18e11a943ff2eb9394c72d4ec8b76592c454915b5839ae177d422777a046e29.js"></script> |
| 647 |
|
| 648 |
|
| 649 |
|
| 650 |
|
| 651 |
|
| 652 |
|
| 653 |
<div class="js-stale-session-flash stale-session-flash flash flash-warn flash-banner d-none"> |
| 654 |
<svg aria-hidden="true" class="octicon octicon-alert" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path d="M8.865 1.52c-.18-.31-.51-.5-.87-.5s-.69.19-.87.5L.275 13.5c-.18.31-.18.69 0 1 .19.31.52.5.87.5h13.7c.36 0 .69-.19.86-.5.17-.31.18-.69.01-1L8.865 1.52zM8.995 13h-2v-2h2v2zm0-3h-2V6h2v4z"></path></svg> |
| 655 |
<span class="signed-in-tab-flash">You signed in with another tab or window. <a href="">Reload</a> to refresh your session.</span> |
| 656 |
<span class="signed-out-tab-flash">You signed out in another tab or window. <a href="">Reload</a> to refresh your session.</span> |
| 657 |
</div> |
| 658 |
<div class="facebox" id="facebox" style="display:none;"> |
| 659 |
<div class="facebox-popup"> |
| 660 |
<div class="facebox-content" role="dialog" aria-labelledby="facebox-header" aria-describedby="facebox-description"> |
| 661 |
</div> |
| 662 |
<button type="button" class="facebox-close js-facebox-close" aria-label="Close modal"> |
| 663 |
<svg aria-hidden="true" class="octicon octicon-x" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path d="M7.48 8l3.75 3.75-1.48 1.48L6 9.48l-3.75 3.75-1.48-1.48L4.52 8 .77 4.25l1.48-1.48L6 6.52l3.75-3.75 1.48 1.48z"></path></svg> |
| 664 |
</button> |
| 665 |
</div> |
| 666 |
</div> |
| 667 |
|
| 668 |
</body> |
| 669 |
</html> |
| 670 |
|