mentat/rustc_serialize/json/trait.ToJson.html

214 lines
55 KiB
HTML
Raw Normal View History

2018-08-22 17:04:13 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `ToJson` trait in crate `rustc_serialize`.">
<meta name="keywords" content="rust, rustlang, rust-lang, ToJson">
<title>rustc_serialize::json::ToJson - Rust</title>
<link rel="stylesheet" type="text/css" href="../../normalize.css">
<link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle">
<link rel="stylesheet" type="text/css" href="../../dark.css">
<link rel="stylesheet" type="text/css" href="../../main.css" id="themeStyle">
<script src="../../storage.js"></script>
<link rel="shortcut icon" href="https://www.rust-lang.org/favicon.ico">
</head>
<body class="rustdoc trait">
<!--[if lte IE 8]>
<div class="warning">
This old browser is unsupported and will most likely display funky
things.
</div>
<![endif]-->
<nav class="sidebar">
<div class="sidebar-menu">&#9776;</div>
<a href='../../rustc_serialize/index.html'><img src='https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png' alt='logo' width='100'></a>
<p class='location'>Trait ToJson</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#required-methods">Required Methods</a><div class="sidebar-links"><a href="#tymethod.to_json">to_json</a></div><a class="sidebar-title" href="#foreign-impls">Implementations on Foreign Types</a><div class="sidebar-links"><a href="#impl-ToJson">isize</a><a href="#impl-ToJson">i8</a><a href="#impl-ToJson">i16</a><a href="#impl-ToJson">i32</a><a href="#impl-ToJson">i64</a><a href="#impl-ToJson">usize</a><a href="#impl-ToJson">u8</a><a href="#impl-ToJson">u16</a><a href="#impl-ToJson">u32</a><a href="#impl-ToJson">u64</a><a href="#impl-ToJson">f32</a><a href="#impl-ToJson">f64</a><a href="#impl-ToJson">()</a><a href="#impl-ToJson">bool</a><a href="#impl-ToJson">str</a><a href="#impl-ToJson">String</a><a href="#impl-ToJson">(A,)</a><a href="#impl-ToJson">(A, B)</a><a href="#impl-ToJson">(A, B, C)</a><a href="#impl-ToJson">(A, B, C, D)</a><a href="#impl-ToJson">(A, B, C, D, E)</a><a href="#impl-ToJson">(A, B, C, D, E, F)</a><a href="#impl-ToJson">(A, B, C, D, E, F, G)</a><a href="#impl-ToJson">(A, B, C, D, E, F, G, H)</a><a href="#impl-ToJson">(A, B, C, D, E, F, G, H, I)</a><a href="#impl-ToJson">(A, B, C, D, E, F, G, H, I, J)</a><a href="#impl-ToJson">(A, B, C, D, E, F, G, H, I, J, K)</a><a href="#impl-ToJson">(A, B, C, D, E, F, G, H, I, J, K, L)</a><a href="#impl-ToJson">[A]</a><a href="#impl-ToJson">Vec&lt;A&gt;</a><a href="#impl-ToJson">BTreeMap&lt;String, A&gt;</a><a href="#impl-ToJson">HashMap&lt;String, A&gt;</a><a href="#impl-ToJson">Option&lt;A&gt;</a></div><a class="sidebar-title" href="#implementors">Implementors</a></div><p class='location'><a href='../index.html'>rustc_serialize</a>::<wbr><a href='index.html'>json</a></p><script>window.sidebarCurrent = {name: 'ToJson', ty: 'trait', relpath: ''};</script><script defer src="sidebar-items.js"></script></div>
</nav>
<div class="theme-picker">
<button id="theme-picker" aria-label="Pick another theme!">
<img src="../../brush.svg" width="18" alt="Pick another theme!">
</button>
<div id="theme-choices"></div>
</div>
<script src="../../theme.js"></script>
<nav class="sub">
<form class="search-form js-only">
<div class="search-container">
<input class="search-input" name="search"
autocomplete="off"
placeholder="Click or press S to search, ? for more options…"
type="search">
</div>
</form>
</nav>
<section id='main' class="content">
<h1 class='fqn'><span class='in-band'>Trait <a href='../index.html'>rustc_serialize</a>::<wbr><a href='index.html'>json</a>::<wbr><a class="trait" href=''>ToJson</a></span><span class='out-of-band'><span id='render-detail'>
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
[<span class='inner'>&#x2212;</span>]
</a>
</span><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2379-2382' title='goto source code'>[src]</a></span></h1>
<pre class='rust trait'>pub trait ToJson {
fn <a href='#tymethod.to_json' class='fnname'>to_json</a>(&amp;self) -&gt; <a class="enum" href="../../rustc_serialize/json/enum.Json.html" title="enum rustc_serialize::json::Json">Json</a>;
}</pre><div class='docblock'><p>A trait for converting values to JSON</p>
</div>
<h2 id='required-methods' class='small-section-header'>
Required Methods<a href='#required-methods' class='anchor'></a>
</h2>
<div class='methods'>
<h3 id='tymethod.to_json' class='method'><span id='to_json.v' class='invisible'><code>fn <a href='#tymethod.to_json' class='fnname'>to_json</a>(&amp;self) -&gt; <a class="enum" href="../../rustc_serialize/json/enum.Json.html" title="enum rustc_serialize::json::Json">Json</a></code></span></h3><div class='docblock'><p>Converts the value of <code>self</code> to an instance of JSON</p>
</div></div>
<h2 id='foreign-impls' class='small-section-header'>
Implementations on Foreign Types<a href='#foreign-impls' class='anchor'></a>
</h2>
<h3 id='impl-ToJson' class='impl'><span class='in-band'><code>impl <a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.isize.html">isize</a></code><a href='#impl-ToJson' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2386-2388' title='goto source code'>[src]</a></span></h3>
<span class='docblock autohide'><div class='impl-items'><h4 id='method.to_json' class="method"><span id='to_json.v-1' class='invisible'><code>fn <a href='#method.to_json' class='fnname'>to_json</a>(&amp;self) -&gt; <a class="enum" href="../../rustc_serialize/json/enum.Json.html" title="enum rustc_serialize::json::Json">Json</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2387' title='goto source code'>[src]</a></span></h4>
</div></span><h3 id='impl-ToJson-1' class='impl'><span class='in-band'><code>impl <a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a></code><a href='#impl-ToJson-1' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2386-2388' title='goto source code'>[src]</a></span></h3>
<span class='docblock autohide'><div class='impl-items'><h4 id='method.to_json-1' class="method"><span id='to_json.v-2' class='invisible'><code>fn <a href='#method.to_json' class='fnname'>to_json</a>(&amp;self) -&gt; <a class="enum" href="../../rustc_serialize/json/enum.Json.html" title="enum rustc_serialize::json::Json">Json</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2387' title='goto source code'>[src]</a></span></h4>
</div></span><h3 id='impl-ToJson-2' class='impl'><span class='in-band'><code>impl <a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a></code><a href='#impl-ToJson-2' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2386-2388' title='goto source code'>[src]</a></span></h3>
<span class='docblock autohide'><div class='impl-items'><h4 id='method.to_json-2' class="method"><span id='to_json.v-3' class='invisible'><code>fn <a href='#method.to_json' class='fnname'>to_json</a>(&amp;self) -&gt; <a class="enum" href="../../rustc_serialize/json/enum.Json.html" title="enum rustc_serialize::json::Json">Json</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2387' title='goto source code'>[src]</a></span></h4>
</div></span><h3 id='impl-ToJson-3' class='impl'><span class='in-band'><code>impl <a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></code><a href='#impl-ToJson-3' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2386-2388' title='goto source code'>[src]</a></span></h3>
<span class='docblock autohide'><div class='impl-items'><h4 id='method.to_json-3' class="method"><span id='to_json.v-4' class='invisible'><code>fn <a href='#method.to_json' class='fnname'>to_json</a>(&amp;self) -&gt; <a class="enum" href="../../rustc_serialize/json/enum.Json.html" title="enum rustc_serialize::json::Json">Json</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2387' title='goto source code'>[src]</a></span></h4>
</div></span><h3 id='impl-ToJson-4' class='impl'><span class='in-band'><code>impl <a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a></code><a href='#impl-ToJson-4' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2386-2388' title='goto source code'>[src]</a></span></h3>
<span class='docblock autohide'><div class='impl-items'><h4 id='method.to_json-4' class="method"><span id='to_json.v-5' class='invisible'><code>fn <a href='#method.to_json' class='fnname'>to_json</a>(&amp;self) -&gt; <a class="enum" href="../../rustc_serialize/json/enum.Json.html" title="enum rustc_serialize::json::Json">Json</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2387' title='goto source code'>[src]</a></span></h4>
</div></span><h3 id='impl-ToJson-5' class='impl'><span class='in-band'><code>impl <a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code><a href='#impl-ToJson-5' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2396-2398' title='goto source code'>[src]</a></span></h3>
<span class='docblock autohide'><div class='impl-items'><h4 id='method.to_json-5' class="method"><span id='to_json.v-6' class='invisible'><code>fn <a href='#method.to_json' class='fnname'>to_json</a>(&amp;self) -&gt; <a class="enum" href="../../rustc_serialize/json/enum.Json.html" title="enum rustc_serialize::json::Json">Json</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2397' title='goto source code'>[src]</a></span></h4>
</div></span><h3 id='impl-ToJson-6' class='impl'><span class='in-band'><code>impl <a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a></code><a href='#impl-ToJson-6' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2396-2398' title='goto source code'>[src]</a></span></h3>
<span class='docblock autohide'><div class='impl-items'><h4 id='method.to_json-6' class="method"><span id='to_json.v-7' class='invisible'><code>fn <a href='#method.to_json' class='fnname'>to_json</a>(&amp;self) -&gt; <a class="enum" href="../../rustc_serialize/json/enum.Json.html" title="enum rustc_serialize::json::Json">Json</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2397' title='goto source code'>[src]</a></span></h4>
</div></span><h3 id='impl-ToJson-7' class='impl'><span class='in-band'><code>impl <a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a></code><a href='#impl-ToJson-7' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2396-2398' title='goto source code'>[src]</a></span></h3>
<span class='docblock autohide'><div class='impl-items'><h4 id='method.to_json-7' class="method"><span id='to_json.v-8' class='invisible'><code>fn <a href='#method.to_json' class='fnname'>to_json</a>(&amp;self) -&gt; <a class="enum" href="../../rustc_serialize/json/enum.Json.html" title="enum rustc_serialize::json::Json">Json</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2397' title='goto source code'>[src]</a></span></h4>
</div></span><h3 id='impl-ToJson-8' class='impl'><span class='in-band'><code>impl <a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a href='#impl-ToJson-8' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2396-2398' title='goto source code'>[src]</a></span></h3>
<span class='docblock autohide'><div class='impl-items'><h4 id='method.to_json-8' class="method"><span id='to_json.v-9' class='invisible'><code>fn <a href='#method.to_json' class='fnname'>to_json</a>(&amp;self) -&gt; <a class="enum" href="../../rustc_serialize/json/enum.Json.html" title="enum rustc_serialize::json::Json">Json</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2397' title='goto source code'>[src]</a></span></h4>
</div></span><h3 id='impl-ToJson-9' class='impl'><span class='in-band'><code>impl <a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code><a href='#impl-ToJson-9' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2396-2398' title='goto source code'>[src]</a></span></h3>
<span class='docblock autohide'><div class='impl-items'><h4 id='method.to_json-9' class="method"><span id='to_json.v-10' class='invisible'><code>fn <a href='#method.to_json' class='fnname'>to_json</a>(&amp;self) -&gt; <a class="enum" href="../../rustc_serialize/json/enum.Json.html" title="enum rustc_serialize::json::Json">Json</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2397' title='goto source code'>[src]</a></span></h4>
</div></span><h3 id='impl-ToJson-10' class='impl'><span class='in-band'><code>impl <a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a></code><a href='#impl-ToJson-10' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2408-2410' title='goto source code'>[src]</a></span></h3>
<span class='docblock autohide'><div class='impl-items'><h4 id='method.to_json-10' class="method"><span id='to_json.v-11' class='invisible'><code>fn <a href='#method.to_json' class='fnname'>to_json</a>(&amp;self) -&gt; <a class="enum" href="../../rustc_serialize/json/enum.Json.html" title="enum rustc_serialize::json::Json">Json</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2409' title='goto source code'>[src]</a></span></h4>
</div></span><h3 id='impl-ToJson-11' class='impl'><span class='in-band'><code>impl <a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a></code><a href='#impl-ToJson-11' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2412-2421' title='goto source code'>[src]</a></span></h3>
<span class='docblock autohide'><div class='impl-items'><h4 id='method.to_json-11' class="method"><span id='to_json.v-12' class='invisible'><code>fn <a href='#method.to_json' class='fnname'>to_json</a>(&amp;self) -&gt; <a class="enum" href="../../rustc_serialize/json/enum.Json.html" title="enum rustc_serialize::json::Json">Json</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2413-2420' title='goto source code'>[src]</a></span></h4>
</div></span><h3 id='impl-ToJson-12' class='impl'><span class='in-band'><code>impl <a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a></code><a href='#impl-ToJson-12' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2423-2425' title='goto source code'>[src]</a></span></h3>
<span class='docblock autohide'><div class='impl-items'><h4 id='method.to_json-12' class="method"><span id='to_json.v-13' class='invisible'><code>fn <a href='#method.to_json' class='fnname'>to_json</a>(&amp;self) -&gt; <a class="enum" href="../../rustc_serialize/json/enum.Json.html" title="enum rustc_serialize::json::Json">Json</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2424' title='goto source code'>[src]</a></span></h4>
</div></span><h3 id='impl-ToJson-13' class='impl'><span class='in-band'><code>impl <a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a href='#impl-ToJson-13' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2427-2429' title='goto source code'>[src]</a></span></h3>
<span class='docblock autohide'><div class='impl-items'><h4 id='method.to_json-13' class="method"><span id='to_json.v-14' class='invisible'><code>fn <a href='#method.to_json' class='fnname'>to_json</a>(&amp;self) -&gt; <a class="enum" href="../../rustc_serialize/json/enum.Json.html" title="enum rustc_serialize::json::Json">Json</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2428' title='goto source code'>[src]</a></span></h4>
</div></span><h3 id='impl-ToJson-14' class='impl'><span class='in-band'><code>impl <a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a></code><a href='#impl-ToJson-14' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2431-2433' title='goto source code'>[src]</a></span></h3>
<span class='docblock autohide'><div class='impl-items'><h4 id='method.to_json-14' class="method"><span id='to_json.v-15' class='invisible'><code>fn <a href='#method.to_json' class='fnname'>to_json</a>(&amp;self) -&gt; <a class="enum" href="../../rustc_serialize/json/enum.Json.html" title="enum rustc_serialize::json::Json">Json</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2432' title='goto source code'>[src]</a></span></h4>
</div></span><h3 id='impl-ToJson-15' class='impl'><span class='in-band'><code>impl <a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></code><a href='#impl-ToJson-15' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2435-2437' title='goto source code'>[src]</a></span></h3>
<span class='docblock autohide'><div class='impl-items'><h4 id='method.to_json-15' class="method"><span id='to_json.v-16' class='invisible'><code>fn <a href='#method.to_json' class='fnname'>to_json</a>(&amp;self) -&gt; <a class="enum" href="../../rustc_serialize/json/enum.Json.html" title="enum rustc_serialize::json::Json">Json</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2436' title='goto source code'>[src]</a></span></h4>
</div></span><h3 id='impl-ToJson-16' class='impl'><span class='in-band'><code>impl&lt;A:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>&gt; <a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>A<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">,)</a></code><a href='#impl-ToJson-16' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2443-2454' title='goto source code'>[src]</a></span></h3>
<span class='docblock autohide'><div class='impl-items'><h4 id='method.to_json-16' class="method"><span id='to_json.v-17' class='invisible'><code>fn <a href='#method.to_json' class='fnname'>to_json</a>(&amp;self) -&gt; <a class="enum" href="../../rustc_serialize/json/enum.Json.html" title="enum rustc_serialize::json::Json">Json</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2449-2453' title='goto source code'>[src]</a></span></h4>
</div></span><h3 id='impl-ToJson-17' class='impl'><span class='in-band'><code>impl&lt;A:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, B:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>&gt; <a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>A, B<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a></code><a href='#impl-ToJson-17' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2443-2454' title='goto source code'>[src]</a></span></h3>
<span class='docblock autohide'><div class='impl-items'><h4 id='method.to_json-17' class="method"><span id='to_json.v-18' class='invisible'><code>fn <a href='#method.to_json' class='fnname'>to_json</a>(&amp;self) -&gt; <a class="enum" href="../../rustc_serialize/json/enum.Json.html" title="enum rustc_serialize::json::Json">Json</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2449-2453' title='goto source code'>[src]</a></span></h4>
</div></span><h3 id='impl-ToJson-18' class='impl'><span class='in-band'><code>impl&lt;A:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, B:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, C:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>&gt; <a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>A, B, C<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a></code><a href='#impl-ToJson-18' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2443-2454' title='goto source code'>[src]</a></span></h3>
<span class='docblock autohide'><div class='impl-items'><h4 id='method.to_json-18' class="method"><span id='to_json.v-19' class='invisible'><code>fn <a href='#method.to_json' class='fnname'>to_json</a>(&amp;self) -&gt; <a class="enum" href="../../rustc_serialize/json/enum.Json.html" title="enum rustc_serialize::json::Json">Json</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2449-2453' title='goto source code'>[src]</a></span></h4>
</div></span><h3 id='impl-ToJson-19' class='impl'><span class='in-band'><code>impl&lt;A:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, B:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, C:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, D:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>&gt; <a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>A, B, C, D<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a></code><a href='#impl-ToJson-19' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2443-2454' title='goto source code'>[src]</a></span></h3>
<span class='docblock autohide'><div class='impl-items'><h4 id='method.to_json-19' class="method"><span id='to_json.v-20' class='invisible'><code>fn <a href='#method.to_json' class='fnname'>to_json</a>(&amp;self) -&gt; <a class="enum" href="../../rustc_serialize/json/enum.Json.html" title="enum rustc_serialize::json::Json">Json</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2449-2453' title='goto source code'>[src]</a></span></h4>
</div></span><h3 id='impl-ToJson-20' class='impl'><span class='in-band'><code>impl&lt;A:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, B:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, C:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, D:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, E:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>&gt; <a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>A, B, C, D, E<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a></code><a href='#impl-ToJson-20' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2443-2454' title='goto source code'>[src]</a></span></h3>
<span class='docblock autohide'><div class='impl-items'><h4 id='method.to_json-20' class="method"><span id='to_json.v-21' class='invisible'><code>fn <a href='#method.to_json' class='fnname'>to_json</a>(&amp;self) -&gt; <a class="enum" href="../../rustc_serialize/json/enum.Json.html" title="enum rustc_serialize::json::Json">Json</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2449-2453' title='goto source code'>[src]</a></span></h4>
</div></span><h3 id='impl-ToJson-21' class='impl'><span class='in-band'><code>impl&lt;A:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, B:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, C:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, D:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, E:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, F:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>&gt; <a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>A, B, C, D, E, F<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a></code><a href='#impl-ToJson-21' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2443-2454' title='goto source code'>[src]</a></span></h3>
<span class='docblock autohide'><div class='impl-items'><h4 id='method.to_json-21' class="method"><span id='to_json.v-22' class='invisible'><code>fn <a href='#method.to_json' class='fnname'>to_json</a>(&amp;self) -&gt; <a class="enum" href="../../rustc_serialize/json/enum.Json.html" title="enum rustc_serialize::json::Json">Json</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2449-2453' title='goto source code'>[src]</a></span></h4>
</div></span><h3 id='impl-ToJson-22' class='impl'><span class='in-band'><code>impl&lt;A:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, B:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, C:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, D:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, E:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, F:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, G:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>&gt; <a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>A, B, C, D, E, F, G<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a></code><a href='#impl-ToJson-22' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2443-2454' title='goto source code'>[src]</a></span></h3>
<span class='docblock autohide'><div class='impl-items'><h4 id='method.to_json-22' class="method"><span id='to_json.v-23' class='invisible'><code>fn <a href='#method.to_json' class='fnname'>to_json</a>(&amp;self) -&gt; <a class="enum" href="../../rustc_serialize/json/enum.Json.html" title="enum rustc_serialize::json::Json">Json</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2449-2453' title='goto source code'>[src]</a></span></h4>
</div></span><h3 id='impl-ToJson-23' class='impl'><span class='in-band'><code>impl&lt;A:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, B:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, C:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, D:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, E:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, F:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, G:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, H:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>&gt; <a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>A, B, C, D, E, F, G, H<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a></code><a href='#impl-ToJson-23' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2443-2454' title='goto source code'>[src]</a></span></h3>
<span class='docblock autohide'><div class='impl-items'><h4 id='method.to_json-23' class="method"><span id='to_json.v-24' class='invisible'><code>fn <a href='#method.to_json' class='fnname'>to_json</a>(&amp;self) -&gt; <a class="enum" href="../../rustc_serialize/json/enum.Json.html" title="enum rustc_serialize::json::Json">Json</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2449-2453' title='goto source code'>[src]</a></span></h4>
</div></span><h3 id='impl-ToJson-24' class='impl'><span class='in-band'><code>impl&lt;A:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, B:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, C:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, D:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, E:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, F:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, G:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, H:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, I:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>&gt; <a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>A, B, C, D, E, F, G, H, I<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a></code><a href='#impl-ToJson-24' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2443-2454' title='goto source code'>[src]</a></span></h3>
<span class='docblock autohide'><div class='impl-items'><h4 id='method.to_json-24' class="method"><span id='to_json.v-25' class='invisible'><code>fn <a href='#method.to_json' class='fnname'>to_json</a>(&amp;self) -&gt; <a class="enum" href="../../rustc_serialize/json/enum.Json.html" title="enum rustc_serialize::json::Json">Json</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2449-2453' title='goto source code'>[src]</a></span></h4>
</div></span><h3 id='impl-ToJson-25' class='impl'><span class='in-band'><code>impl&lt;A:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, B:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, C:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, D:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, E:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, F:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, G:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, H:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, I:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, J:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>&gt; <a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>A, B, C, D, E, F, G, H, I, J<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a></code><a href='#impl-ToJson-25' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2443-2454' title='goto source code'>[src]</a></span></h3>
<span class='docblock autohide'><div class='impl-items'><h4 id='method.to_json-25' class="method"><span id='to_json.v-26' class='invisible'><code>fn <a href='#method.to_json' class='fnname'>to_json</a>(&amp;self) -&gt; <a class="enum" href="../../rustc_serialize/json/enum.Json.html" title="enum rustc_serialize::json::Json">Json</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2449-2453' title='goto source code'>[src]</a></span></h4>
</div></span><h3 id='impl-ToJson-26' class='impl'><span class='in-band'><code>impl&lt;A:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, B:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, C:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, D:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, E:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, F:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, G:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, H:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, I:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, J:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, K:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>&gt; <a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>A, B, C, D, E, F, G, H, I, J, K<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a></code><a href='#impl-ToJson-26' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2443-2454' title='goto source code'>[src]</a></span></h3>
<span class='docblock autohide'><div class='impl-items'><h4 id='method.to_json-26' class="method"><span id='to_json.v-27' class='invisible'><code>fn <a href='#method.to_json' class='fnname'>to_json</a>(&amp;self) -&gt; <a class="enum" href="../../rustc_serialize/json/enum.Json.html" title="enum rustc_serialize::json::Json">Json</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2449-2453' title='goto source code'>[src]</a></span></h4>
</div></span><h3 id='impl-ToJson-27' class='impl'><span class='in-band'><code>impl&lt;A:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, B:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, C:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, D:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, E:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, F:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, G:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, H:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, I:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, J:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, K:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>, L:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>&gt; <a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>A, B, C, D, E, F, G, H, I, J, K, L<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a></code><a href='#impl-ToJson-27' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2443-2454' title='goto source code'>[src]</a></span></h3>
<span class='docblock autohide'><div class='impl-items'><h4 id='method.to_json-27' class="method"><span id='to_json.v-28' class='invisible'><code>fn <a href='#method.to_json' class='fnname'>to_json</a>(&amp;self) -&gt; <a class="enum" href="../../rustc_serialize/json/enum.Json.html" title="enum rustc_serialize::json::Json">Json</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2449-2453' title='goto source code'>[src]</a></span></h4>
</div></span><h3 id='impl-ToJson-28' class='impl'><span class='in-band'><code>impl&lt;A:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>&gt; <a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">[</a>A<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a></code><a href='#impl-ToJson-28' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2471-2473' title='goto source code'>[src]</a></span></h3>
<span class='docblock autohide'><div class='impl-items'><h4 id='method.to_json-28' class="method"><span id='to_json.v-29' class='invisible'><code>fn <a href='#method.to_json' class='fnname'>to_json</a>(&amp;self) -&gt; <a class="enum" href="../../rustc_serialize/json/enum.Json.html" title="enum rustc_serialize::json::Json">Json</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2472' title='goto source code'>[src]</a></span></h4>
</div></span><h3 id='impl-ToJson-29' class='impl'><span class='in-band'><code>impl&lt;A:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>&gt; <a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;A&gt;</code><a href='#impl-ToJson-29' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2475-2477' title='goto source code'>[src]</a></span></h3>
<span class='docblock autohide'><div class='impl-items'><h4 id='method.to_json-29' class="method"><span id='to_json.v-30' class='invisible'><code>fn <a href='#method.to_json' class='fnname'>to_json</a>(&amp;self) -&gt; <a class="enum" href="../../rustc_serialize/json/enum.Json.html" title="enum rustc_serialize::json::Json">Json</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2476' title='goto source code'>[src]</a></span></h4>
</div></span><h3 id='impl-ToJson-30' class='impl'><span class='in-band'><code>impl&lt;A:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>&gt; <a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/btree/map/struct.BTreeMap.html" title="struct alloc::btree::map::BTreeMap">BTreeMap</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, A&gt;</code><a href='#impl-ToJson-30' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2479-2487' title='goto source code'>[src]</a></span></h3>
<span class='docblock autohide'><div class='impl-items'><h4 id='method.to_json-30' class="method"><span id='to_json.v-31' class='invisible'><code>fn <a href='#method.to_json' class='fnname'>to_json</a>(&amp;self) -&gt; <a class="enum" href="../../rustc_serialize/json/enum.Json.html" title="enum rustc_serialize::json::Json">Json</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2480-2486' title='goto source code'>[src]</a></span></h4>
</div></span><h3 id='impl-ToJson-31' class='impl'><span class='in-band'><code>impl&lt;A:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>&gt; <a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/std/collections/hash/map/struct.HashMap.html" title="struct std::collections::hash::map::HashMap">HashMap</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, A&gt;</code><a href='#impl-ToJson-31' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2489-2497' title='goto source code'>[src]</a></span></h3>
<span class='docblock autohide'><div class='impl-items'><h4 id='method.to_json-31' class="method"><span id='to_json.v-32' class='invisible'><code>fn <a href='#method.to_json' class='fnname'>to_json</a>(&amp;self) -&gt; <a class="enum" href="../../rustc_serialize/json/enum.Json.html" title="enum rustc_serialize::json::Json">Json</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2490-2496' title='goto source code'>[src]</a></span></h4>
</div></span><h3 id='impl-ToJson-32' class='impl'><span class='in-band'><code>impl&lt;A:&nbsp;<a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a>&gt; <a class="trait" href="../../rustc_serialize/json/trait.ToJson.html" title="trait rustc_serialize::json::ToJson">ToJson</a> for <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;A&gt;</code><a href='#impl-ToJson-32' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2499-2506' title='goto source code'>[src]</a></span></h3>
<span class='docblock autohide'><div class='impl-items'><h4 id='method.to_json-32' class="method"><span id='to_json.v-33' class='invisible'><code>fn <a href='#method.to_json' class='fnname'>to_json</a>(&amp;self) -&gt; <a class="enum" href="../../rustc_serialize/json/enum.Json.html" title="enum rustc_serialize::json::Json">Json</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2500-2505' title='goto source code'>[src]</a></span></h4>
</div></span>
<h2 id='implementors' class='small-section-header'>
Implementors<a href='#implementors' class='anchor'></a>
</h2>
<ul class='item-list' id='implementors-list'>
<li><div class='out-of-band'><a class='srclink' href='../../src/rustc_serialize/json.rs.html#2404-2406' title='goto source code'>[src]</a></div><code>impl ToJson for <a class="enum" href="../../rustc_serialize/json/enum.Json.html" title="enum rustc_serialize::json::Json">Json</a></code></li>
</ul><script type="text/javascript" async
src="../../implementors/rustc_serialize/json/trait.ToJson.js">
</script></section>
<section id='search' class="content hidden"></section>
<section class="footer"></section>
<aside id="help" class="hidden">
<div>
<h1 class="hidden">Help</h1>
<div class="shortcuts">
<h2>Keyboard Shortcuts</h2>
<dl>
<dt><kbd>?</kbd></dt>
<dd>Show this help dialog</dd>
<dt><kbd>S</kbd></dt>
<dd>Focus the search field</dd>
<dt><kbd></kbd></dt>
<dd>Move up in search results</dd>
<dt><kbd></kbd></dt>
<dd>Move down in search results</dd>
<dt><kbd></kbd></dt>
<dd>Switch tab</dd>
<dt><kbd>&#9166;</kbd></dt>
<dd>Go to active search result</dd>
<dt><kbd>+</kbd></dt>
<dd>Expand all sections</dd>
<dt><kbd>-</kbd></dt>
<dd>Collapse all sections</dd>
</dl>
</div>
<div class="infos">
<h2>Search Tricks</h2>
<p>
Prefix searches with a type followed by a colon (e.g.
<code>fn:</code>) to restrict the search to a given type.
</p>
<p>
Accepted types are: <code>fn</code>, <code>mod</code>,
<code>struct</code>, <code>enum</code>,
<code>trait</code>, <code>type</code>, <code>macro</code>,
and <code>const</code>.
</p>
<p>
Search functions by type signature (e.g.
<code>vec -> usize</code> or <code>* -> vec</code>)
</p>
</div>
</div>
</aside>
<script>
window.rootPath = "../../";
window.currentCrate = "rustc_serialize";
</script>
<script src="../../main.js"></script>
<script defer src="../../search-index.js"></script>
</body>
</html>