Skip to content

Commit

Permalink
build based on 90c187d
Browse files Browse the repository at this point in the history
  • Loading branch information
Documenter.jl committed Feb 24, 2024
1 parent da0e4cf commit 2670cfc
Show file tree
Hide file tree
Showing 11 changed files with 30 additions and 30 deletions.
2 changes: 1 addition & 1 deletion dev/.documenter-siteinfo.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"documenter":{"julia_version":"1.10.1","generation_timestamp":"2024-02-24T19:39:14","documenter_version":"1.2.1"}}
{"documenter":{"julia_version":"1.10.1","generation_timestamp":"2024-02-24T19:43:42","documenter_version":"1.2.1"}}
2 changes: 1 addition & 1 deletion dev/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@
end

# Serialize the JuliaCon instance to YAML and print it
to_yaml(juliacon) |&gt; print</code></pre></article><nav class="docs-footer"><a class="docs-footer-nextpage" href="pages/json/">JSON »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="auto">Automatic (OS)</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.2.1 on <span class="colophon-date" title="Saturday 24 February 2024 19:39">Saturday 24 February 2024</span>. Using Julia version 1.10.1.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
to_yaml(juliacon) |&gt; print</code></pre></article><nav class="docs-footer"><a class="docs-footer-nextpage" href="pages/json/">JSON »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="auto">Automatic (OS)</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.2.1 on <span class="colophon-date" title="Saturday 24 February 2024 19:43">Saturday 24 February 2024</span>. Using Julia version 1.10.1.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
6 changes: 3 additions & 3 deletions dev/pages/csv/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
julia&gt; parse_csv(csv)
2-element Vector{NamedTuple{(:id, :name, :grade), Tuple{String, String, String}}}:
(id = &quot;1&quot;, name = &quot;Fred&quot;, grade = &quot;78.2&quot;)
(id = &quot;2&quot;, name = &quot;Benny&quot;, grade = &quot;82.0&quot;)</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://github.com/bhftbootcamp/Serde.jl/blob/f919059f2fb2ee8390e000306976483672594505/src/Par/ParCsv.jl#L24-L48">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Serde.ParCsv.CSVSyntaxError" href="#Serde.ParCsv.CSVSyntaxError"><code>Serde.ParCsv.CSVSyntaxError</code></a><span class="docstring-category">Type</span></header><section><div><pre><code class="language-julia hljs">CSVSyntaxError &lt;: Exception</code></pre><p>Exception thrown when a <a href="#Serde.ParCsv.parse_csv"><code>parse_csv</code></a> fails due to incorrect CSV syntax or any underlying error that occurs during parsing.</p><p><strong>Fields</strong></p><ul><li><code>message::String</code>: The error message.</li><li><code>exception::Exception</code>: The catched exception.</li></ul></div><a class="docs-sourcelink" target="_blank" href="https://github.com/bhftbootcamp/Serde.jl/blob/f919059f2fb2ee8390e000306976483672594505/src/Par/ParCsv.jl#L8-L16">source</a></section></article><h2 id="Deserialization"><a class="docs-heading-anchor" href="#Deserialization">Deserialization</a><a id="Deserialization-1"></a><a class="docs-heading-anchor-permalink" href="#Deserialization" title="Permalink"></a></h2><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Serde.DeCsv.deser_csv" href="#Serde.DeCsv.deser_csv"><code>Serde.DeCsv.deser_csv</code></a><span class="docstring-category">Function</span></header><section><div><pre><code class="language-julia hljs">deser_csv(::Type{T}, x; kw...) -&gt; Vector{T}</code></pre><p>Creates a new object of type <code>T</code> and fill it with values from CSV formated string <code>x</code> (or vector of UInt8).</p><p>Keyword arguments <code>kw</code> is the same as in <a href="#Serde.ParCsv.parse_csv"><code>parse_csv</code></a>.</p><p><strong>Examples</strong></p><pre><code class="language-julia-repl hljs">julia&gt; struct Data
(id = &quot;2&quot;, name = &quot;Benny&quot;, grade = &quot;82.0&quot;)</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://github.com/bhftbootcamp/Serde.jl/blob/90c187ddf56760824503416781cf5c86a9de3308/src/Par/ParCsv.jl#L24-L48">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Serde.ParCsv.CSVSyntaxError" href="#Serde.ParCsv.CSVSyntaxError"><code>Serde.ParCsv.CSVSyntaxError</code></a><span class="docstring-category">Type</span></header><section><div><pre><code class="language-julia hljs">CSVSyntaxError &lt;: Exception</code></pre><p>Exception thrown when a <a href="#Serde.ParCsv.parse_csv"><code>parse_csv</code></a> fails due to incorrect CSV syntax or any underlying error that occurs during parsing.</p><p><strong>Fields</strong></p><ul><li><code>message::String</code>: The error message.</li><li><code>exception::Exception</code>: The catched exception.</li></ul></div><a class="docs-sourcelink" target="_blank" href="https://github.com/bhftbootcamp/Serde.jl/blob/90c187ddf56760824503416781cf5c86a9de3308/src/Par/ParCsv.jl#L8-L16">source</a></section></article><h2 id="Deserialization"><a class="docs-heading-anchor" href="#Deserialization">Deserialization</a><a id="Deserialization-1"></a><a class="docs-heading-anchor-permalink" href="#Deserialization" title="Permalink"></a></h2><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Serde.DeCsv.deser_csv" href="#Serde.DeCsv.deser_csv"><code>Serde.DeCsv.deser_csv</code></a><span class="docstring-category">Function</span></header><section><div><pre><code class="language-julia hljs">deser_csv(::Type{T}, x; kw...) -&gt; Vector{T}</code></pre><p>Creates a new object of type <code>T</code> and fill it with values from CSV formated string <code>x</code> (or vector of UInt8).</p><p>Keyword arguments <code>kw</code> is the same as in <a href="#Serde.ParCsv.parse_csv"><code>parse_csv</code></a>.</p><p><strong>Examples</strong></p><pre><code class="language-julia-repl hljs">julia&gt; struct Data
id::Int64
name::String
grade::Float64
Expand All @@ -24,7 +24,7 @@
julia&gt; deser_csv(Data, csv)
2-element Vector{Data}:
Data(1, &quot;Fred&quot;, 78.2)
Data(2, &quot;Benny&quot;, 82.0)</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://github.com/bhftbootcamp/Serde.jl/blob/f919059f2fb2ee8390e000306976483672594505/src/De/DeCsv.jl#L8-L34">source</a></section></article><h2 id="Serialization"><a class="docs-heading-anchor" href="#Serialization">Serialization</a><a id="Serialization-1"></a><a class="docs-heading-anchor-permalink" href="#Serialization" title="Permalink"></a></h2><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Serde.SerCsv.to_csv" href="#Serde.SerCsv.to_csv"><code>Serde.SerCsv.to_csv</code></a><span class="docstring-category">Function</span></header><section><div><pre><code class="language-julia hljs">to_csv(data::Vector{T}; kw...) -&gt; String</code></pre><p>Uses <code>data</code> element values to make csv rows with fieldnames as columns headers. Type <code>T</code> may be a nested dictionary or a custom type. In case of nested <code>data</code>, names of resulting headers will be concatenate by &quot;_&quot; symbol using dictionary key-names or structure field names.</p><p><strong>Keyword arguments</strong></p><ul><li><code>delimiter::String = &quot;,&quot;</code>: The delimiter that will be used in the returned csv string.</li><li><code>headers::Vector{String} = String[]</code>: Specifies which column headers will be used and in what order.</li></ul><p><strong>Examples</strong></p><p>Converting a vector of regular dictionaries with fixed headers order.</p><pre><code class="language-julia-repl hljs">julia&gt; data = [
Data(2, &quot;Benny&quot;, 82.0)</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://github.com/bhftbootcamp/Serde.jl/blob/90c187ddf56760824503416781cf5c86a9de3308/src/De/DeCsv.jl#L8-L34">source</a></section></article><h2 id="Serialization"><a class="docs-heading-anchor" href="#Serialization">Serialization</a><a id="Serialization-1"></a><a class="docs-heading-anchor-permalink" href="#Serialization" title="Permalink"></a></h2><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Serde.SerCsv.to_csv" href="#Serde.SerCsv.to_csv"><code>Serde.SerCsv.to_csv</code></a><span class="docstring-category">Function</span></header><section><div><pre><code class="language-julia hljs">to_csv(data::Vector{T}; kw...) -&gt; String</code></pre><p>Uses <code>data</code> element values to make csv rows with fieldnames as columns headers. Type <code>T</code> may be a nested dictionary or a custom type. In case of nested <code>data</code>, names of resulting headers will be concatenate by &quot;_&quot; symbol using dictionary key-names or structure field names.</p><p><strong>Keyword arguments</strong></p><ul><li><code>delimiter::String = &quot;,&quot;</code>: The delimiter that will be used in the returned csv string.</li><li><code>headers::Vector{String} = String[]</code>: Specifies which column headers will be used and in what order.</li></ul><p><strong>Examples</strong></p><p>Converting a vector of regular dictionaries with fixed headers order.</p><pre><code class="language-julia-repl hljs">julia&gt; data = [
Dict(&quot;id&quot; =&gt; 1, &quot;name&quot; =&gt; &quot;Jack&quot;),
Dict( &quot;id&quot; =&gt; 2, &quot;name&quot; =&gt; &quot;Bob&quot;),
];
Expand Down Expand Up @@ -61,4 +61,4 @@
julia&gt; to_csv(data) |&gt; print
str,val
a,1
b,2</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://github.com/bhftbootcamp/Serde.jl/blob/f919059f2fb2ee8390e000306976483672594505/src/Ser/SerCsv.jl#L20-L86">source</a></section></article></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../toml/">« TOML</a><a class="docs-footer-nextpage" href="../query/">Query »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="auto">Automatic (OS)</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.2.1 on <span class="colophon-date" title="Saturday 24 February 2024 19:39">Saturday 24 February 2024</span>. Using Julia version 1.10.1.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
b,2</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://github.com/bhftbootcamp/Serde.jl/blob/90c187ddf56760824503416781cf5c86a9de3308/src/Ser/SerCsv.jl#L20-L86">source</a></section></article></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../toml/">« TOML</a><a class="docs-footer-nextpage" href="../query/">Query »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="auto">Automatic (OS)</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.2.1 on <span class="colophon-date" title="Saturday 24 February 2024 19:43">Saturday 24 February 2024</span>. Using Julia version 1.10.1.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
Loading

0 comments on commit 2670cfc

Please sign in to comment.