mirror of
https://github.com/mbierlee/mirage-config.git
synced 2024-11-15 04:44:01 +01:00
138 lines
4.4 KiB
HTML
138 lines
4.4 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta charset="UTF-8"/>
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0"/>
|
||
|
<title>parseJsonConfig - multiple declarations</title>
|
||
|
<link rel="stylesheet" href="../../css/style.min.css"/>
|
||
|
<script type="text/javascript" src="../../js/script.min.js"></script>
|
||
|
</head>
|
||
|
<body onload="setupDdox();">
|
||
|
<header></header>
|
||
|
<nav id="main-nav">
|
||
|
<div>
|
||
|
<noscript>
|
||
|
<p style="color: red">The search functionality needs JavaScript enabled</p>
|
||
|
</noscript>
|
||
|
<div id="symbolSearchPane" style="display: none">
|
||
|
<form action="#" method="GET">
|
||
|
<input id="symbolSearch" type="text" name="q" placeholder="Search for symbols" autocomplete="off" onchange="performSymbolSearch(24);" onkeypress="this.onchange();" onpaste="this.onchange();" oninput="this.onchange();" autofocus/>
|
||
|
</form>
|
||
|
<ul id="symbolSearchResults" class="symbolList" style="display: none"></ul><script type="application/javascript" src="../../symbols.js"></script><script type="application/javascript">var symbolSearchRootDir = "../../";
|
||
|
document.getElementById('symbolSearchPane').style.display = 'block';</script>
|
||
|
</div>
|
||
|
<ul class="tree-view">
|
||
|
<li class="tree-view ">
|
||
|
<div class="package ">
|
||
|
<a href="../../mirage.html">mirage</a>
|
||
|
</div>
|
||
|
<ul class="tree-view">
|
||
|
<li>
|
||
|
<div class="module ">
|
||
|
<a href="../../mirage/config.html">config</a>
|
||
|
</div>
|
||
|
</li>
|
||
|
<li>
|
||
|
<div class="module ">
|
||
|
<a href="../../mirage/java.html">java</a>
|
||
|
</div>
|
||
|
</li>
|
||
|
<li>
|
||
|
<div class="module selected">
|
||
|
<a href="../../mirage/json.html">json</a>
|
||
|
</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<p id="main-nav-footer">
|
||
|
Built with
|
||
|
<a href="https://github.com/MartinNowak/scod">scod</a>
|
||
|
</p>
|
||
|
</nav>
|
||
|
<div id="main-contents">
|
||
|
<div>
|
||
|
<h1>parseJsonConfig - multiple declarations</h1>
|
||
|
<nav class="page-nav">
|
||
|
<ul>
|
||
|
<li>
|
||
|
<a href="#0">
|
||
|
Function <code>parseJsonConfig</code>
|
||
|
</a>
|
||
|
</li>
|
||
|
<li>
|
||
|
<a href="#1">
|
||
|
Function <code>parseJsonConfig</code>
|
||
|
</a>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</nav><h2 id="0">Function parseJsonConfig</h2><p>Parse JSON config from the given JSON string.
|
||
|
</p>
|
||
|
<div class="prototype">
|
||
|
<code class="lang-d">
|
||
|
<div class="single-prototype">
|
||
|
<a href="../../mirage/config/ConfigDictionary.html"><span class="typ">ConfigDictionary</span></a> <span class="pln">parseJsonConfig</span>
|
||
|
<span class="pun">(</span>
|
||
|
<br/>
|
||
|
<span class="kwd">const</span><span class="pun">(</span><span class="typ">string</span><span class="pun">)</span> <span class="pln">json</span>
|
||
|
<br/>
|
||
|
<span class="pun">)</span><span class="pun">;</span>
|
||
|
</div>
|
||
|
</code>
|
||
|
</div>
|
||
|
<section></section>
|
||
|
|
||
|
<section><h3>Parameters</h3>
|
||
|
<table><col class="caption"><tr><th>Name</th><th>Description</th></tr>
|
||
|
<tr><td id="json">json</td><td> Text contents of the config to be parsed.</td></tr>
|
||
|
</table>
|
||
|
</section>
|
||
|
<section><h3>Returns</h3>
|
||
|
<p>The parsed configuration.
|
||
|
</p>
|
||
|
</section>
|
||
|
<h2 id="1">Function parseJsonConfig</h2><p>Parse JSON config from the given JSONValue.
|
||
|
</p>
|
||
|
<div class="prototype">
|
||
|
<code class="lang-d">
|
||
|
<div class="single-prototype">
|
||
|
<a href="../../mirage/config/ConfigDictionary.html"><span class="typ">ConfigDictionary</span></a> <span class="pln">parseJsonConfig</span>
|
||
|
<span class="pun">(</span>
|
||
|
<br/>
|
||
|
<span class="kwd">const</span><span class="pun">(</span><span class="pln">std<wbr/></span><span class="pun">.</span><span class="pln">json<wbr/></span><span class="pun">.</span><span class="typ">JSONValue</span><span class="pun">)</span> <span class="pln">json</span>
|
||
|
<br/>
|
||
|
<span class="pun">)</span><span class="pun">;</span>
|
||
|
</div>
|
||
|
</code>
|
||
|
</div>
|
||
|
<section></section>
|
||
|
|
||
|
<section><h3>Parameters</h3>
|
||
|
<table><col class="caption"><tr><th>Name</th><th>Description</th></tr>
|
||
|
<tr><td id="json">json</td><td> JSONValue config to be parsed.</td></tr>
|
||
|
</table>
|
||
|
</section>
|
||
|
<section><h3>Returns</h3>
|
||
|
<p>The parsed configuration.
|
||
|
</p>
|
||
|
</section>
|
||
|
|
||
|
</div>
|
||
|
<footer>
|
||
|
<div id="license-info">
|
||
|
<p>Mike Bierlee, m.bierlee@lostmoment.com
|
||
|
</p>
|
||
|
|
||
|
<p>2022 Mike Bierlee
|
||
|
</p>
|
||
|
|
||
|
<p>This software is licensed under the terms of the MIT license.
|
||
|
The full terms of the license can be found in the LICENSE file.
|
||
|
</p>
|
||
|
|
||
|
</div>
|
||
|
</footer>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|