Skip to content

Commit

Permalink
feat(dict): Add dict and keyValuePairs decoders
Browse files Browse the repository at this point in the history
  • Loading branch information
kofno committed Sep 8, 2018
1 parent 72ab0fb commit c6a9b10
Show file tree
Hide file tree
Showing 11 changed files with 1,462 additions and 145 deletions.
2 changes: 1 addition & 1 deletion docs/assets/js/search.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 19 additions & 13 deletions docs/classes/_decoder_.decoder.html
Original file line number Diff line number Diff line change
Expand Up @@ -971,12 +971,18 @@
<li class=" tsd-kind-function tsd-parent-kind-external-module tsd-has-type-parameter">
<a href="../modules/_decoder_.html#at" class="tsd-kind-icon">at</a>
</li>
<li class=" tsd-kind-function tsd-parent-kind-external-module">
<li class=" tsd-kind-function tsd-parent-kind-external-module tsd-has-type-parameter">
<a href="../modules/_decoder_.html#dict" class="tsd-kind-icon">dict</a>
</li>
<li class=" tsd-kind-function tsd-parent-kind-external-module tsd-has-type-parameter">
<a href="../modules/_decoder_.html#fail" class="tsd-kind-icon">fail</a>
</li>
<li class=" tsd-kind-function tsd-parent-kind-external-module tsd-has-type-parameter">
<a href="../modules/_decoder_.html#field" class="tsd-kind-icon">field</a>
</li>
<li class=" tsd-kind-function tsd-parent-kind-external-module tsd-has-type-parameter">
<a href="../modules/_decoder_.html#keyvaluepairs" class="tsd-kind-icon">key<wbr>Value<wbr>Pairs</a>
</li>
<li class=" tsd-kind-function tsd-parent-kind-external-module tsd-has-type-parameter">
<a href="../modules/_decoder_.html#maybe" class="tsd-kind-icon">maybe</a>
</li>
Expand Down Expand Up @@ -1063,7 +1069,7 @@ <h3>constructor</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/kofno/jsonous/blob/4a117f8/src/Decoder.ts#L13">Decoder.ts:13</a></li>
<li>Defined in <a href="https://github.com/kofno/jsonous/blob/72ab0fb/src/Decoder.ts#L14">Decoder.ts:14</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -1085,7 +1091,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> fn</h3>
<div class="tsd-signature tsd-kind-icon">fn<span class="tsd-signature-symbol">:</span> <a href="../modules/_decoder_.html#decoderfn" class="tsd-signature-type">DecoderFn</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">A</span><span class="tsd-signature-symbol">&gt;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/kofno/jsonous/blob/4a117f8/src/Decoder.ts#L14">Decoder.ts:14</a></li>
<li>Defined in <a href="https://github.com/kofno/jsonous/blob/72ab0fb/src/Decoder.ts#L15">Decoder.ts:15</a></li>
</ul>
</aside>
</section>
Expand All @@ -1102,7 +1108,7 @@ <h3>and<wbr>Then</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/kofno/jsonous/blob/4a117f8/src/Decoder.ts#L33">Decoder.ts:33</a></li>
<li>Defined in <a href="https://github.com/kofno/jsonous/blob/72ab0fb/src/Decoder.ts#L34">Decoder.ts:34</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1158,7 +1164,7 @@ <h3>ap</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/kofno/jsonous/blob/4a117f8/src/Decoder.ts#L87">Decoder.ts:87</a></li>
<li>Defined in <a href="https://github.com/kofno/jsonous/blob/72ab0fb/src/Decoder.ts#L88">Decoder.ts:88</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1193,7 +1199,7 @@ <h3>assign</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/kofno/jsonous/blob/4a117f8/src/Decoder.ts#L48">Decoder.ts:48</a></li>
<li>Defined in <a href="https://github.com/kofno/jsonous/blob/72ab0fb/src/Decoder.ts#L49">Decoder.ts:49</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1238,7 +1244,7 @@ <h3>decode<wbr>Any</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/kofno/jsonous/blob/4a117f8/src/Decoder.ts#L97">Decoder.ts:97</a></li>
<li>Defined in <a href="https://github.com/kofno/jsonous/blob/72ab0fb/src/Decoder.ts#L98">Decoder.ts:98</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1266,7 +1272,7 @@ <h3>decode<wbr>Json</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/kofno/jsonous/blob/4a117f8/src/Decoder.ts#L106">Decoder.ts:106</a></li>
<li>Defined in <a href="https://github.com/kofno/jsonous/blob/72ab0fb/src/Decoder.ts#L107">Decoder.ts:107</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1296,7 +1302,7 @@ <h3>do</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/kofno/jsonous/blob/4a117f8/src/Decoder.ts#L67">Decoder.ts:67</a></li>
<li>Defined in <a href="https://github.com/kofno/jsonous/blob/72ab0fb/src/Decoder.ts#L68">Decoder.ts:68</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1345,7 +1351,7 @@ <h3>map</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/kofno/jsonous/blob/4a117f8/src/Decoder.ts#L19">Decoder.ts:19</a></li>
<li>Defined in <a href="https://github.com/kofno/jsonous/blob/72ab0fb/src/Decoder.ts#L20">Decoder.ts:20</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1397,7 +1403,7 @@ <h3>or<wbr>Else</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/kofno/jsonous/blob/4a117f8/src/Decoder.ts#L77">Decoder.ts:77</a></li>
<li>Defined in <a href="https://github.com/kofno/jsonous/blob/72ab0fb/src/Decoder.ts#L78">Decoder.ts:78</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1443,7 +1449,7 @@ <h3>to<wbr>Any<wbr>Fn</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/kofno/jsonous/blob/4a117f8/src/Decoder.ts#L119">Decoder.ts:119</a></li>
<li>Defined in <a href="https://github.com/kofno/jsonous/blob/72ab0fb/src/Decoder.ts#L120">Decoder.ts:120</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1484,7 +1490,7 @@ <h3>to<wbr>Json<wbr>Fn</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/kofno/jsonous/blob/4a117f8/src/Decoder.ts#L127">Decoder.ts:127</a></li>
<li>Defined in <a href="https://github.com/kofno/jsonous/blob/72ab0fb/src/Decoder.ts#L128">Decoder.ts:128</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down
1 change: 1 addition & 0 deletions docs/globals.html
Original file line number Diff line number Diff line change
Expand Up @@ -1022,6 +1022,7 @@ <h2>Index</h2>
<h3>External modules</h3>
<ul class="tsd-index-list">
<li class="tsd-kind-external-module"><a href="modules/_decoder_.html" class="tsd-kind-icon">"<wbr>Decoder"</a></li>
<li class="tsd-kind-external-module"><a href="modules/_internal_errorstringify_.html" class="tsd-kind-icon">"<wbr>Internal/<wbr>Error<wbr>Stringify"</a></li>
<li class="tsd-kind-external-module"><a href="modules/_index_.html" class="tsd-kind-icon">"index"</a></li>
</ul>
</section>
Expand Down
1 change: 1 addition & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1023,6 +1023,7 @@ <h2>Index</h2>
<h3>External modules</h3>
<ul class="tsd-index-list">
<li class="tsd-kind-external-module"><a href="modules/_decoder_.html" class="tsd-kind-icon">"<wbr>Decoder"</a></li>
<li class="tsd-kind-external-module"><a href="modules/_internal_errorstringify_.html" class="tsd-kind-icon">"<wbr>Internal/<wbr>Error<wbr>Stringify"</a></li>
<li class="tsd-kind-external-module"><a href="modules/_index_.html" class="tsd-kind-icon">"index"</a></li>
</ul>
</section>
Expand Down
Loading

0 comments on commit c6a9b10

Please # to comment.