Sophie

Sophie

distrib > Fedora > 18 > x86_64 > by-pkgid > b3a1f4d91c26f535919e39e25606614a > files > 1445

wt-doc-3.2.3-1.fc18.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Wt: Wt::Json::Value Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Wt
   &#160;<span id="projectnumber">3.2.3</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespaceWt.html">Wt</a>      </li>
      <li class="navelem"><a class="el" href="namespaceWt_1_1Json.html">Json</a>      </li>
      <li class="navelem"><a class="el" href="classWt_1_1Json_1_1Value.html">Value</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a>  </div>
  <div class="headertitle">
<div class="title">Wt::Json::Value Class Reference<div class="ingroups"><a class="el" href="group__json.html">JSON Library (Wt::Json)</a></div></div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="Wt::Json::Value" -->
<p>A JSON value.  
 <a href="classWt_1_1Json_1_1Value.html#details">More...</a></p>

<p><a href="classWt_1_1Json_1_1Value-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Json_1_1Value.html#a1ea91a9cfd1554265851233642514e0b">Value</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Default construtor.  <a href="#a1ea91a9cfd1554265851233642514e0b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Json_1_1Value.html#a741475c334e1093ae3c527755916f237">Value</a> (const <a class="el" href="classWt_1_1WString.html">WString</a> &amp;value)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a value from a string.  <a href="#a741475c334e1093ae3c527755916f237"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Json_1_1Value.html#a996653ddbb69709c1113eae3f59c64a0">Value</a> (bool value)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a value from a boolean.  <a href="#a996653ddbb69709c1113eae3f59c64a0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Json_1_1Value.html#ab5c48de7bfc49ab35ae981488116693e">Value</a> (int value)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a value from an integer.  <a href="#ab5c48de7bfc49ab35ae981488116693e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Json_1_1Value.html#adb3bb3c6ece89ab3f4533a85168cce8d">Value</a> (long long value)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a value from a long.  <a href="#adb3bb3c6ece89ab3f4533a85168cce8d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Json_1_1Value.html#af021b78409713b1cc0646db00f62fa16">Value</a> (double value)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a value from a double.  <a href="#af021b78409713b1cc0646db00f62fa16"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Json_1_1Value.html#a25010126790a59bf3c55f24d1d2e3628">Value</a> (<a class="el" href="group__json.html#ga9952f308537fd1bea762f1bd114fd5c0">Type</a> type)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a value with a given type.  <a href="#a25010126790a59bf3c55f24d1d2e3628"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0105097e8e033edc7377980f242154a3"></a><!-- doxytag: member="Wt::Json::Value::Value" ref="a0105097e8e033edc7377980f242154a3" args="(const Value &amp;other)" -->
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Json_1_1Value.html#a0105097e8e033edc7377980f242154a3">Value</a> (const <a class="el" href="classWt_1_1Json_1_1Value.html">Value</a> &amp;other)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classWt_1_1Json_1_1Value.html">Value</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Json_1_1Value.html#a5491fdbb3afe87330584504e0c66a04f">operator=</a> (const <a class="el" href="classWt_1_1Json_1_1Value.html">Value</a> &amp;other)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Assignment operator.  <a href="#a5491fdbb3afe87330584504e0c66a04f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Json_1_1Value.html#a23edfcac794f9fe5421d9e0e868bda73">operator==</a> (const <a class="el" href="classWt_1_1Json_1_1Value.html">Value</a> &amp;other) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Comparison operator.  <a href="#a23edfcac794f9fe5421d9e0e868bda73"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Json_1_1Value.html#acd17f90b2b4c366714378438ad58c160">operator!=</a> (const <a class="el" href="classWt_1_1Json_1_1Value.html">Value</a> &amp;other) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Comparison operator.  <a href="#acd17f90b2b4c366714378438ad58c160"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__json.html#ga9952f308537fd1bea762f1bd114fd5c0">Type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Json_1_1Value.html#a7dae7abf48498249738f2a73254e36cc">type</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the type.  <a href="#a7dae7abf48498249738f2a73254e36cc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Json_1_1Value.html#a6c7d31fe979c766c13276ade8dc8fff7">isNull</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether the value is <a class="el" href="classWt_1_1Json_1_1Value.html#a344e20a378d9e91effbf91772b409942" title="Null constant.">Null</a>.  <a href="#a6c7d31fe979c766c13276ade8dc8fff7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Json_1_1Value.html#a1e72b1316b83f52aba06d7f905ee0382">hasType</a> (const std::type_info &amp;type) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether the value is compatible with a given C++ type.  <a href="#a1e72b1316b83f52aba06d7f905ee0382"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Json_1_1Value.html#a4e234664fd4c7025da3be527d766da9b">operator const WString &amp;</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Extracts the string value.  <a href="#a4e234664fd4c7025da3be527d766da9b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Json_1_1Value.html#ac504deb1495758c6ae5a847a09831b65">operator std::string</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Extracts the string value (UTF-8 encoded).  <a href="#ac504deb1495758c6ae5a847a09831b65"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Json_1_1Value.html#a35c173f27317068a9cf6bc31bf062943">operator bool</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Extracts the boolean value.  <a href="#a35c173f27317068a9cf6bc31bf062943"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Json_1_1Value.html#acf8bbd5005b88016ab93e591b0dbcdfd">operator int</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Extracts the integer number value.  <a href="#acf8bbd5005b88016ab93e591b0dbcdfd"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Json_1_1Value.html#aba94da102379323bdd808ec12463c647">operator long long</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Extracts the integer number value.  <a href="#aba94da102379323bdd808ec12463c647"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Json_1_1Value.html#addde6f94bb921442c4ed671681092663">operator double</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Extracts the floating point number value.  <a href="#addde6f94bb921442c4ed671681092663"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Json_1_1Value.html#a4c17c8c5fda9fc0dc228ecb32be1a6e6">operator const Array &amp;</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Extracts the array value.  <a href="#a4c17c8c5fda9fc0dc228ecb32be1a6e6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Json_1_1Value.html#aef5a21e897e61149541a77a83cf07267">operator const Object &amp;</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Extracts the object value.  <a href="#aef5a21e897e61149541a77a83cf07267"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Json_1_1Value.html#ab0aa6e7b5b5b35056e4238ccd4a0e5e8">operator Array &amp;</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Accesses the array value.  <a href="#ab0aa6e7b5b5b35056e4238ccd4a0e5e8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Json_1_1Value.html#a95408a6c1c59ba1696657d9ac2b538d0">operator Object &amp;</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Accesses the object value.  <a href="#a95408a6c1c59ba1696657d9ac2b538d0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classWt_1_1WString.html">WString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Json_1_1Value.html#ac7f8103ef5aa88d257e299e8c27f058c">orIfNull</a> (const <a class="el" href="classWt_1_1WString.html">WString</a> &amp;v) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Extracts the string value, using a fallback when null.  <a href="#ac7f8103ef5aa88d257e299e8c27f058c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Json_1_1Value.html#ad29489369be929e6765a42de5ac17e4a">orIfNull</a> (const char *v) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Extracts the UTF-8 encoded string value, using a fallback when null.  <a href="#ad29489369be929e6765a42de5ac17e4a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Json_1_1Value.html#a7e0ae3851d810f00987858579fd54475">orIfNull</a> (const std::string &amp;v) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Extracts the UTF-8 encoded string value, using a fallback when null.  <a href="#a7e0ae3851d810f00987858579fd54475"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Json_1_1Value.html#aa0b35edebde929754c0655825ed54143">orIfNull</a> (bool v) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Extracts the boolean value, using a fallback when null.  <a href="#aa0b35edebde929754c0655825ed54143"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Json_1_1Value.html#a1f22e8e2b82291f3c8e7eaec25b725b1">orIfNull</a> (int v) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Extracts the number value, using a fallback when null.  <a href="#a1f22e8e2b82291f3c8e7eaec25b725b1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">long long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Json_1_1Value.html#a7450c3653a9520ef79b474a32a3d9ec4">orIfNull</a> (long long v) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Extracts the number value, using a fallback when null.  <a href="#a7450c3653a9520ef79b474a32a3d9ec4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Json_1_1Value.html#af1a0d96a4f23b0172debc581ee19da3e">orIfNull</a> (double v) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Extracts the number value, using a fallback when null.  <a href="#af1a0d96a4f23b0172debc581ee19da3e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classWt_1_1Json_1_1Array.html">Array</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Json_1_1Value.html#a5042fbd589a040bbf08cd84e5d8e2487">orIfNull</a> (const <a class="el" href="classWt_1_1Json_1_1Array.html">Array</a> &amp;v) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Extracts the array value, using a fallback when null.  <a href="#a5042fbd589a040bbf08cd84e5d8e2487"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classWt_1_1Json_1_1Object.html">Object</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Json_1_1Value.html#a12fd3d68f7579bc9337c916f4e7a7b6a">orIfNull</a> (const <a class="el" href="classWt_1_1Json_1_1Object.html">Object</a> &amp;v) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Extracts the object value, using a fallback when null.  <a href="#a12fd3d68f7579bc9337c916f4e7a7b6a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classWt_1_1Json_1_1Value.html">Value</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Json_1_1Value.html#ab51a0087aee7644eb6b8121a8de7e363">toString</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts the value to a string.  <a href="#ab51a0087aee7644eb6b8121a8de7e363"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classWt_1_1Json_1_1Value.html">Value</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Json_1_1Value.html#a754c1665471f0e41493d2351f49e1825">toBool</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts the value to a boolean.  <a href="#a754c1665471f0e41493d2351f49e1825"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classWt_1_1Json_1_1Value.html">Value</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Json_1_1Value.html#a5914ba5fbacf8e38b0c18726163385d9">toNumber</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts the value to a number.  <a href="#a5914ba5fbacf8e38b0c18726163385d9"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="group__json.html#ga9952f308537fd1bea762f1bd114fd5c0">Type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Json_1_1Value.html#afaaad5b35b6a335625f3ffd1864b26f9">typeOf</a> (const std::type_info &amp;type)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the JSON type that corresponds to a C++ type.  <a href="#afaaad5b35b6a335625f3ffd1864b26f9"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classWt_1_1Json_1_1Value.html">Value</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Json_1_1Value.html#a344e20a378d9e91effbf91772b409942">Null</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Null constant.  <a href="#a344e20a378d9e91effbf91772b409942"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classWt_1_1Json_1_1Value.html">Value</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Json_1_1Value.html#a0b472f97bcb1908d148aab05a675d611">True</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">True constant.  <a href="#a0b472f97bcb1908d148aab05a675d611"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classWt_1_1Json_1_1Value.html">Value</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Json_1_1Value.html#af1ed0e8d1b099f4cbc30001d65928f8e">False</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">False constant.  <a href="#af1ed0e8d1b099f4cbc30001d65928f8e"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>A JSON value. </p>
<p>This class represents a JSON value, which may be:</p>
<ul>
<li>a simple type (boolean, number, string)</li>
<li>a composed type (<a class="el" href="classWt_1_1Json_1_1Array.html" title="A JSON array.">Array</a> or <a class="el" href="classWt_1_1Json_1_1Object.html" title="A JSON object.">Object</a>)</li>
<li><a class="el" href="classWt_1_1Json_1_1Value.html#a344e20a378d9e91effbf91772b409942" title="Null constant.">Null</a>: this represents values which are represented as "null" in JSON notations, but also the values returned for missing members in an <a class="el" href="classWt_1_1Json_1_1Object.html" title="A JSON object.">Object</a>, or values which are the result of a failed type coercion. </li>
</ul>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a1ea91a9cfd1554265851233642514e0b"></a><!-- doxytag: member="Wt::Json::Value::Value" ref="a1ea91a9cfd1554265851233642514e0b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Wt::Json::Value::Value </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Default construtor. </p>
<p>This creates a <a class="el" href="classWt_1_1Json_1_1Value.html#a344e20a378d9e91effbf91772b409942" title="Null constant.">Null</a> value. </p>

</div>
</div>
<a class="anchor" id="a741475c334e1093ae3c527755916f237"></a><!-- doxytag: member="Wt::Json::Value::Value" ref="a741475c334e1093ae3c527755916f237" args="(const WString &amp;value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Wt::Json::Value::Value </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WString.html">WString</a> &amp;&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a value from a string. </p>
<p>This creates a <a class="el" href="group__json.html#gga9952f308537fd1bea762f1bd114fd5c0a113d10e88eba44ad0deedaa1e3cd42bb">Json::StringType</a> value. </p>

</div>
</div>
<a class="anchor" id="a996653ddbb69709c1113eae3f59c64a0"></a><!-- doxytag: member="Wt::Json::Value::Value" ref="a996653ddbb69709c1113eae3f59c64a0" args="(bool value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Wt::Json::Value::Value </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a value from a boolean. </p>
<p>This creates a <a class="el" href="group__json.html#gga9952f308537fd1bea762f1bd114fd5c0a7340a85b621237525000bc8eaa63c296">Json::BoolType</a> value. </p>

</div>
</div>
<a class="anchor" id="ab5c48de7bfc49ab35ae981488116693e"></a><!-- doxytag: member="Wt::Json::Value::Value" ref="ab5c48de7bfc49ab35ae981488116693e" args="(int value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Wt::Json::Value::Value </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a value from an integer. </p>
<p>This creates a <a class="el" href="group__json.html#gga9952f308537fd1bea762f1bd114fd5c0a178a1c36b90e58cf065dbb1bbb243d32">Json::NumberType</a> value. </p>

</div>
</div>
<a class="anchor" id="adb3bb3c6ece89ab3f4533a85168cce8d"></a><!-- doxytag: member="Wt::Json::Value::Value" ref="adb3bb3c6ece89ab3f4533a85168cce8d" args="(long long value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Wt::Json::Value::Value </td>
          <td>(</td>
          <td class="paramtype">long long&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a value from a long. </p>
<p>This creates a <a class="el" href="group__json.html#gga9952f308537fd1bea762f1bd114fd5c0a178a1c36b90e58cf065dbb1bbb243d32">Json::NumberType</a> value. </p>

</div>
</div>
<a class="anchor" id="af021b78409713b1cc0646db00f62fa16"></a><!-- doxytag: member="Wt::Json::Value::Value" ref="af021b78409713b1cc0646db00f62fa16" args="(double value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Wt::Json::Value::Value </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a value from a double. </p>
<p>This creates a <a class="el" href="group__json.html#gga9952f308537fd1bea762f1bd114fd5c0a178a1c36b90e58cf065dbb1bbb243d32">Json::NumberType</a> value. </p>

</div>
</div>
<a class="anchor" id="a25010126790a59bf3c55f24d1d2e3628"></a><!-- doxytag: member="Wt::Json::Value::Value" ref="a25010126790a59bf3c55f24d1d2e3628" args="(Type type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Wt::Json::Value::Value </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__json.html#ga9952f308537fd1bea762f1bd114fd5c0">Type</a>&#160;</td>
          <td class="paramname"><em>type</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a value with a given type. </p>
<p>This creates a value of the given type, using a default constructed value of that type:</p>
<ul>
<li><a class="el" href="group__json.html#gga9952f308537fd1bea762f1bd114fd5c0a7340a85b621237525000bc8eaa63c296">Json::BoolType</a>: false</li>
<li><a class="el" href="group__json.html#gga9952f308537fd1bea762f1bd114fd5c0a178a1c36b90e58cf065dbb1bbb243d32">Json::NumberType</a>: 0</li>
<li><a class="el" href="group__json.html#gga9952f308537fd1bea762f1bd114fd5c0a113d10e88eba44ad0deedaa1e3cd42bb">Json::StringType</a>: ""</li>
<li><a class="el" href="group__json.html#gga9952f308537fd1bea762f1bd114fd5c0a7a82f1b8afcdc842e9e9b783cb66157e">Json::ArrayType</a>: an empty array</li>
<li><a class="el" href="group__json.html#gga9952f308537fd1bea762f1bd114fd5c0a3fb5937a14d2855a08ad36542c222791">Json::ObjectType</a>: an empty object </li>
</ul>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a1e72b1316b83f52aba06d7f905ee0382"></a><!-- doxytag: member="Wt::Json::Value::hasType" ref="a1e72b1316b83f52aba06d7f905ee0382" args="(const std::type_info &amp;type) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Wt::Json::Value::hasType </td>
          <td>(</td>
          <td class="paramtype">const std::type_info &amp;&#160;</td>
          <td class="paramname"><em>type</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns whether the value is compatible with a given C++ type. </p>
<p>This returns whether the value type can be contained in the given C++ type, i.e. when a casting operation will not fail throwing a <a class="el" href="classWt_1_1Json_1_1TypeException.html" title="Exception that indicates a type error.">TypeException</a>.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1Json_1_1Value.html#afaaad5b35b6a335625f3ffd1864b26f9" title="Returns the JSON type that corresponds to a C++ type.">typeOf()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a6c7d31fe979c766c13276ade8dc8fff7"></a><!-- doxytag: member="Wt::Json::Value::isNull" ref="a6c7d31fe979c766c13276ade8dc8fff7" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Wt::Json::Value::isNull </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns whether the value is <a class="el" href="classWt_1_1Json_1_1Value.html#a344e20a378d9e91effbf91772b409942" title="Null constant.">Null</a>. </p>
<p>This returns <code>true</code> when the type is <a class="el" href="group__json.html#gga9952f308537fd1bea762f1bd114fd5c0ad9f53f81b36049511b71b094f6f1ed33">Json::NullType</a>. </p>

</div>
</div>
<a class="anchor" id="ab0aa6e7b5b5b35056e4238ccd4a0e5e8"></a><!-- doxytag: member="Wt::Json::Value::operator Array &amp;" ref="ab0aa6e7b5b5b35056e4238ccd4a0e5e8" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Wt::Json::Value::operator <a class="el" href="classWt_1_1Json_1_1Array.html">Array</a> &amp; </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Accesses the array value. </p>
<p>This returns the value of a <a class="el" href="group__json.html#gga9952f308537fd1bea762f1bd114fd5c0a7a82f1b8afcdc842e9e9b783cb66157e">array </a> JSON value.</p>
<p>Use this method to modify the contained array in-place.</p>
<p>For example: </p>
<div class="fragment"><pre class="fragment"> Json::Object person;
 person[<span class="stringliteral">&quot;children&quot;</span>] = <a class="code" href="classWt_1_1Json_1_1Value.html#a1ea91a9cfd1554265851233642514e0b" title="Default construtor.">Json::Value</a>(<a class="code" href="group__json.html#gga9952f308537fd1bea762f1bd114fd5c0a7a82f1b8afcdc842e9e9b783cb66157e" title="an Array">Json::ArrayType</a>);
 Json::Array&amp; children = person.get(<span class="stringliteral">&quot;children&quot;</span>);
 <span class="comment">// add children ...</span>
</pre></div><dl><dt><b>Exceptions:</b></dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classWt_1_1Json_1_1TypeException.html" title="Exception that indicates a type error.">TypeException</a></td><td>if the value type is not <a class="el" href="group__json.html#gga9952f308537fd1bea762f1bd114fd5c0a7a82f1b8afcdc842e9e9b783cb66157e">Json::ArrayType</a> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a35c173f27317068a9cf6bc31bf062943"></a><!-- doxytag: member="Wt::Json::Value::operator bool" ref="a35c173f27317068a9cf6bc31bf062943" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Wt::Json::Value::operator bool </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Extracts the boolean value. </p>
<p>This returns the value of a <a class="el" href="group__json.html#gga9952f308537fd1bea762f1bd114fd5c0a7340a85b621237525000bc8eaa63c296">boolean </a> JSON value.</p>
<p>For example: </p>
<div class="fragment"><pre class="fragment"> <span class="keyword">const</span> Json::Object&amp; person = ...;
 <span class="keywordflow">try</span> {
   <span class="keywordtype">bool</span> happy = person.get(<span class="stringliteral">&quot;happy&quot;</span>);
   ...
 } <span class="keywordflow">catch</span> (<span class="keyword">const</span> std::exception&amp; e) {
   ...
 }
</pre></div><p>To coerce a value of another type to a boolean use <a class="el" href="classWt_1_1Json_1_1Value.html#a754c1665471f0e41493d2351f49e1825" title="Converts the value to a boolean.">toBool()</a> first. To provide a fallback in case the value is null or could not be coerced to a boolean, use <a class="el" href="classWt_1_1Json_1_1Value.html#ac7f8103ef5aa88d257e299e8c27f058c" title="Extracts the string value, using a fallback when null.">orIfNull()</a>.</p>
<p>For example, the following code does not throw exceptions: </p>
<div class="fragment"><pre class="fragment"> <span class="keyword">const</span> Json::Object&amp; person = ...;
 <span class="keywordtype">bool</span> happy = person.get(<span class="stringliteral">&quot;happy&quot;</span>).toBool().orIfNull(<span class="keyword">false</span>);
</pre></div><dl><dt><b>Exceptions:</b></dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classWt_1_1Json_1_1TypeException.html" title="Exception that indicates a type error.">TypeException</a></td><td>if the value type is not <a class="el" href="group__json.html#gga9952f308537fd1bea762f1bd114fd5c0a7340a85b621237525000bc8eaa63c296">Json::BoolType</a> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a4c17c8c5fda9fc0dc228ecb32be1a6e6"></a><!-- doxytag: member="Wt::Json::Value::operator const Array &amp;" ref="a4c17c8c5fda9fc0dc228ecb32be1a6e6" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Wt::Json::Value::operator const <a class="el" href="classWt_1_1Json_1_1Array.html">Array</a> &amp; </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Extracts the array value. </p>
<p>This returns the value of a <a class="el" href="group__json.html#gga9952f308537fd1bea762f1bd114fd5c0a7a82f1b8afcdc842e9e9b783cb66157e">array </a> JSON value.</p>
<p>For example: </p>
<div class="fragment"><pre class="fragment"> <span class="keyword">const</span> Json::Object&amp; person = ...;
 <span class="keywordflow">try</span> {
   <span class="keyword">const</span> Array&amp; children = person.get(<span class="stringliteral">&quot;children&quot;</span>);
   ...
 } <span class="keywordflow">catch</span> (<span class="keyword">const</span> std::exception&amp; e) {
   ...
 }
</pre></div><p>To provide a fallback in case the value is null, use <a class="el" href="classWt_1_1Json_1_1Value.html#ac7f8103ef5aa88d257e299e8c27f058c" title="Extracts the string value, using a fallback when null.">orIfNull()</a>.</p>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classWt_1_1Json_1_1TypeException.html" title="Exception that indicates a type error.">TypeException</a></td><td>if the value type is not <a class="el" href="group__json.html#gga9952f308537fd1bea762f1bd114fd5c0a7a82f1b8afcdc842e9e9b783cb66157e">Json::ArrayType</a> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aef5a21e897e61149541a77a83cf07267"></a><!-- doxytag: member="Wt::Json::Value::operator const Object &amp;" ref="aef5a21e897e61149541a77a83cf07267" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Wt::Json::Value::operator const <a class="el" href="classWt_1_1Json_1_1Object.html">Object</a> &amp; </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Extracts the object value. </p>
<p>This returns the value of a <a class="el" href="group__json.html#gga9952f308537fd1bea762f1bd114fd5c0a3fb5937a14d2855a08ad36542c222791">object </a> JSON value.</p>
<p>For example: </p>
<div class="fragment"><pre class="fragment"> <span class="keyword">const</span> Json::Object&amp; person = ...;
 <span class="keywordflow">try</span> {
   <span class="keyword">const</span> Object&amp; employer = person.get(<span class="stringliteral">&quot;employer&quot;</span>);
   ...
 } <span class="keywordflow">catch</span> (<span class="keyword">const</span> std::exception&amp; e) {
   ...
 }
</pre></div><p>To provide a fallback in case the value is null, use <a class="el" href="classWt_1_1Json_1_1Value.html#ac7f8103ef5aa88d257e299e8c27f058c" title="Extracts the string value, using a fallback when null.">orIfNull()</a>.</p>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classWt_1_1Json_1_1TypeException.html" title="Exception that indicates a type error.">TypeException</a></td><td>if the value type is not <a class="el" href="group__json.html#gga9952f308537fd1bea762f1bd114fd5c0a3fb5937a14d2855a08ad36542c222791">Json::ObjectType</a> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a4e234664fd4c7025da3be527d766da9b"></a><!-- doxytag: member="Wt::Json::Value::operator const WString &amp;" ref="a4e234664fd4c7025da3be527d766da9b" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Wt::Json::Value::operator const <a class="el" href="classWt_1_1WString.html">WString</a> &amp; </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Extracts the string value. </p>
<p>This returns the value of a <a class="el" href="group__json.html#gga9952f308537fd1bea762f1bd114fd5c0a113d10e88eba44ad0deedaa1e3cd42bb">string</a> JSON value.</p>
<p>For example: </p>
<div class="fragment"><pre class="fragment"> <span class="keyword">const</span> Json::Object&amp; person = ...;
 <span class="keywordflow">try</span> {
   <span class="keyword">const</span> WString&amp; occupation = person.get(<span class="stringliteral">&quot;occupation&quot;</span>);
   ...
 } <span class="keywordflow">catch</span> (<span class="keyword">const</span> std::exception&amp; e) {
   ...
 }
</pre></div><p>To coerce a value of another type to a string use <a class="el" href="classWt_1_1Json_1_1Value.html#ab51a0087aee7644eb6b8121a8de7e363" title="Converts the value to a string.">toString()</a> first. To provide a fallback in case the value is null or could not be coerced to a string, use <a class="el" href="classWt_1_1Json_1_1Value.html#ac7f8103ef5aa88d257e299e8c27f058c" title="Extracts the string value, using a fallback when null.">orIfNull()</a>.</p>
<p>For example, the following code does not throw exceptions: </p>
<div class="fragment"><pre class="fragment"> <span class="keyword">const</span> Json::Object&amp; person = ...;
 <span class="keyword">const</span> WString&amp; occupation = person.get(<span class="stringliteral">&quot;occupation&quot;</span>).toString().orIfNull(WString(<span class="stringliteral">&quot;manager&quot;</span>));
</pre></div><dl><dt><b>Exceptions:</b></dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classWt_1_1Json_1_1TypeException.html" title="Exception that indicates a type error.">TypeException</a></td><td>if the value type is not <a class="el" href="group__json.html#gga9952f308537fd1bea762f1bd114fd5c0a113d10e88eba44ad0deedaa1e3cd42bb">Json::StringType</a> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="addde6f94bb921442c4ed671681092663"></a><!-- doxytag: member="Wt::Json::Value::operator double" ref="addde6f94bb921442c4ed671681092663" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Wt::Json::Value::operator double </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Extracts the floating point number value. </p>
<p>This returns the value of a <a class="el" href="group__json.html#gga9952f308537fd1bea762f1bd114fd5c0a178a1c36b90e58cf065dbb1bbb243d32">number </a> JSON value.</p>
<p>For example: </p>
<div class="fragment"><pre class="fragment"> <span class="keyword">const</span> Json::Object&amp; person = ...;
 <span class="keywordflow">try</span> {
   <span class="keywordtype">double</span> cost = person.get(<span class="stringliteral">&quot;cost&quot;</span>);
   ...
 } <span class="keywordflow">catch</span> (<span class="keyword">const</span> std::exception&amp; e) {
   ...
 }
</pre></div><p>To coerce a value of another type to a number use <a class="el" href="classWt_1_1Json_1_1Value.html#a5914ba5fbacf8e38b0c18726163385d9" title="Converts the value to a number.">toNumber()</a> first. To provide a fallback in case the value is null or could not be coerced to a number, use <a class="el" href="classWt_1_1Json_1_1Value.html#ac7f8103ef5aa88d257e299e8c27f058c" title="Extracts the string value, using a fallback when null.">orIfNull()</a>.</p>
<p>For example, the following code does not throw exceptions: </p>
<div class="fragment"><pre class="fragment"> <span class="keyword">const</span> Json::Object&amp; person = ...;
 <span class="keywordtype">double</span> cost = person.get(<span class="stringliteral">&quot;cost&quot;</span>).toNumber().orIfNull(0.0);
</pre></div><dl><dt><b>Exceptions:</b></dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classWt_1_1Json_1_1TypeException.html" title="Exception that indicates a type error.">TypeException</a></td><td>if the value type is not <a class="el" href="group__json.html#gga9952f308537fd1bea762f1bd114fd5c0a178a1c36b90e58cf065dbb1bbb243d32">Json::NumberType</a> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="acf8bbd5005b88016ab93e591b0dbcdfd"></a><!-- doxytag: member="Wt::Json::Value::operator int" ref="acf8bbd5005b88016ab93e591b0dbcdfd" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Wt::Json::Value::operator int </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Extracts the integer number value. </p>
<p>This returns the value of a <a class="el" href="group__json.html#gga9952f308537fd1bea762f1bd114fd5c0a178a1c36b90e58cf065dbb1bbb243d32">number </a> JSON value.</p>
<p>For example: </p>
<div class="fragment"><pre class="fragment"> <span class="keyword">const</span> Json::Object&amp; person = ...;
 <span class="keywordflow">try</span> {
   <span class="keywordtype">int</span> cost = person.get(<span class="stringliteral">&quot;cost&quot;</span>);
   ...
 } <span class="keywordflow">catch</span> (<span class="keyword">const</span> std::exception&amp; e) {
   ...
 }
</pre></div><p>To coerce a value of another type to a number use <a class="el" href="classWt_1_1Json_1_1Value.html#a5914ba5fbacf8e38b0c18726163385d9" title="Converts the value to a number.">toNumber()</a> first. To provide a fallback in case the value is null or could not be coerced to a number, use <a class="el" href="classWt_1_1Json_1_1Value.html#ac7f8103ef5aa88d257e299e8c27f058c" title="Extracts the string value, using a fallback when null.">orIfNull()</a>.</p>
<p>For example, the following code does not throw exceptions: </p>
<div class="fragment"><pre class="fragment"> <span class="keyword">const</span> Json::Object&amp; person = ...;
 <span class="keywordtype">int</span> cost = person.get(<span class="stringliteral">&quot;cost&quot;</span>).toNumber().orIfNull(0);
</pre></div><dl><dt><b>Exceptions:</b></dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classWt_1_1Json_1_1TypeException.html" title="Exception that indicates a type error.">TypeException</a></td><td>if the value type is not <a class="el" href="group__json.html#gga9952f308537fd1bea762f1bd114fd5c0a178a1c36b90e58cf065dbb1bbb243d32">Json::NumberType</a> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aba94da102379323bdd808ec12463c647"></a><!-- doxytag: member="Wt::Json::Value::operator long long" ref="aba94da102379323bdd808ec12463c647" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Wt::Json::Value::operator long long </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Extracts the integer number value. </p>
<p>This returns the value of a <a class="el" href="group__json.html#gga9952f308537fd1bea762f1bd114fd5c0a178a1c36b90e58cf065dbb1bbb243d32">number </a> JSON value.</p>
<p>For example: </p>
<div class="fragment"><pre class="fragment"> <span class="keyword">const</span> Json::Object&amp; person = ...;
 <span class="keywordflow">try</span> {
   <span class="keywordtype">long</span> <span class="keywordtype">long</span> cost = person.get(<span class="stringliteral">&quot;cost&quot;</span>);
   ...
 } <span class="keywordflow">catch</span> (<span class="keyword">const</span> std::exception&amp; e) {
   ...
 }
</pre></div><p>To coerce a value of another type to a number use <a class="el" href="classWt_1_1Json_1_1Value.html#a5914ba5fbacf8e38b0c18726163385d9" title="Converts the value to a number.">toNumber()</a> first. To provide a fallback in case the value is null or could not be coerced to a number, use <a class="el" href="classWt_1_1Json_1_1Value.html#ac7f8103ef5aa88d257e299e8c27f058c" title="Extracts the string value, using a fallback when null.">orIfNull()</a>.</p>
<p>For example, the following code does not throw exceptions: </p>
<div class="fragment"><pre class="fragment"> <span class="keyword">const</span> Json::Object&amp; person = ...;
 <span class="keywordtype">long</span> <span class="keywordtype">long</span> cost = person.get(<span class="stringliteral">&quot;cost&quot;</span>).toNumber().orIfNull(0LL);
</pre></div><dl><dt><b>Exceptions:</b></dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classWt_1_1Json_1_1TypeException.html" title="Exception that indicates a type error.">TypeException</a></td><td>if the value type is not <a class="el" href="group__json.html#gga9952f308537fd1bea762f1bd114fd5c0a178a1c36b90e58cf065dbb1bbb243d32">Json::NumberType</a> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a95408a6c1c59ba1696657d9ac2b538d0"></a><!-- doxytag: member="Wt::Json::Value::operator Object &amp;" ref="a95408a6c1c59ba1696657d9ac2b538d0" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Wt::Json::Value::operator <a class="el" href="classWt_1_1Json_1_1Object.html">Object</a> &amp; </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Accesses the object value. </p>
<p>This returns the value of a <a class="el" href="group__json.html#gga9952f308537fd1bea762f1bd114fd5c0a3fb5937a14d2855a08ad36542c222791">object </a> JSON value.</p>
<p>Use this method to modify the contained object in-place.</p>
<p>For example: </p>
<div class="fragment"><pre class="fragment"> Json::Array&amp; children = ...;
 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> i = 0; i &lt; 3; ++i) {
   children.push_back(Json::Value(<a class="code" href="group__json.html#gga9952f308537fd1bea762f1bd114fd5c0a3fb5937a14d2855a08ad36542c222791" title="an Object">Json::ObjectType</a>));
   Json::Object&amp; child = children.back();
   ...
 }
</pre></div><dl><dt><b>Exceptions:</b></dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classWt_1_1Json_1_1TypeException.html" title="Exception that indicates a type error.">TypeException</a></td><td>if the value type is not <a class="el" href="group__json.html#gga9952f308537fd1bea762f1bd114fd5c0a3fb5937a14d2855a08ad36542c222791">Json::ObjectType</a> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ac504deb1495758c6ae5a847a09831b65"></a><!-- doxytag: member="Wt::Json::Value::operator std::string" ref="ac504deb1495758c6ae5a847a09831b65" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Wt::Json::Value::operator std::string </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Extracts the string value (UTF-8 encoded). </p>
<p>This returns the value of a <a class="el" href="group__json.html#gga9952f308537fd1bea762f1bd114fd5c0a113d10e88eba44ad0deedaa1e3cd42bb">string</a> JSON value.</p>
<p>For example: </p>
<div class="fragment"><pre class="fragment"> <span class="keyword">const</span> Json::Object&amp; person = ...;
 <span class="keywordflow">try</span> {
   std::string occupation = person.get(<span class="stringliteral">&quot;occupation&quot;</span>);
   ...
 } <span class="keywordflow">catch</span> (<span class="keyword">const</span> std::exception&amp; e) {
   ...
 }
</pre></div><p>To coerce a value of another type to a string use <a class="el" href="classWt_1_1Json_1_1Value.html#ab51a0087aee7644eb6b8121a8de7e363" title="Converts the value to a string.">toString()</a> first. To provide a fallback in case the value is null or could not be coerced to a string, use <a class="el" href="classWt_1_1Json_1_1Value.html#ac7f8103ef5aa88d257e299e8c27f058c" title="Extracts the string value, using a fallback when null.">orIfNull()</a>.</p>
<p>For example, the following code does not throw exceptions: </p>
<div class="fragment"><pre class="fragment"> <span class="keyword">const</span> Json::Object&amp; person = ...;
 <span class="keyword">const</span> std::string occupation = person.get(<span class="stringliteral">&quot;occupation&quot;</span>).toString().orIfNull(<span class="stringliteral">&quot;manager&quot;</span>);
</pre></div><dl><dt><b>Exceptions:</b></dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classWt_1_1Json_1_1TypeException.html" title="Exception that indicates a type error.">TypeException</a></td><td>if the value type is not <a class="el" href="group__json.html#gga9952f308537fd1bea762f1bd114fd5c0a113d10e88eba44ad0deedaa1e3cd42bb">Json::StringType</a> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="acd17f90b2b4c366714378438ad58c160"></a><!-- doxytag: member="Wt::Json::Value::operator!=" ref="acd17f90b2b4c366714378438ad58c160" args="(const Value &amp;other) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Wt::Json::Value::operator!= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1Json_1_1Value.html">Value</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Comparison operator. </p>
<p>Returns whether two values have a different type or value. </p>

</div>
</div>
<a class="anchor" id="a5491fdbb3afe87330584504e0c66a04f"></a><!-- doxytag: member="Wt::Json::Value::operator=" ref="a5491fdbb3afe87330584504e0c66a04f" args="(const Value &amp;other)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classWt_1_1Json_1_1Value.html">Value</a> &amp; Wt::Json::Value::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1Json_1_1Value.html">Value</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Assignment operator. </p>
<p>As a result of an assignment, both value and type are set to the value and type of the <code>other</code> value. </p>

</div>
</div>
<a class="anchor" id="a23edfcac794f9fe5421d9e0e868bda73"></a><!-- doxytag: member="Wt::Json::Value::operator==" ref="a23edfcac794f9fe5421d9e0e868bda73" args="(const Value &amp;other) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Wt::Json::Value::operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1Json_1_1Value.html">Value</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Comparison operator. </p>
<p>Returns whether two values have the same type and value. </p>

</div>
</div>
<a class="anchor" id="ac7f8103ef5aa88d257e299e8c27f058c"></a><!-- doxytag: member="Wt::Json::Value::orIfNull" ref="ac7f8103ef5aa88d257e299e8c27f058c" args="(const WString &amp;v) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classWt_1_1WString.html">WString</a> &amp; Wt::Json::Value::orIfNull </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WString.html">WString</a> &amp;&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Extracts the string value, using a fallback when null. </p>
<p>This is similar to the string cast operator, but this method returns a fallback when the value is null instead of throwing an exception.</p>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classWt_1_1Json_1_1TypeException.html" title="Exception that indicates a type error.">TypeException</a></td><td>if the value is not null and has a type other than <a class="el" href="group__json.html#gga9952f308537fd1bea762f1bd114fd5c0a113d10e88eba44ad0deedaa1e3cd42bb">Json::StringType</a> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ad29489369be929e6765a42de5ac17e4a"></a><!-- doxytag: member="Wt::Json::Value::orIfNull" ref="ad29489369be929e6765a42de5ac17e4a" args="(const char *v) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string Wt::Json::Value::orIfNull </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Extracts the UTF-8 encoded string value, using a fallback when null. </p>
<p>This is similar to the string cast operator, but this method returns a fallback when the value is null instead of throwing an exception.</p>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classWt_1_1Json_1_1TypeException.html" title="Exception that indicates a type error.">TypeException</a></td><td>if the value is not null and has a type other than <a class="el" href="group__json.html#gga9952f308537fd1bea762f1bd114fd5c0a113d10e88eba44ad0deedaa1e3cd42bb">Json::StringType</a> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a7e0ae3851d810f00987858579fd54475"></a><!-- doxytag: member="Wt::Json::Value::orIfNull" ref="a7e0ae3851d810f00987858579fd54475" args="(const std::string &amp;v) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string Wt::Json::Value::orIfNull </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Extracts the UTF-8 encoded string value, using a fallback when null. </p>
<p>This is similar to the string cast operator, but this method returns a fallback when the value is null instead of throwing an exception.</p>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classWt_1_1Json_1_1TypeException.html" title="Exception that indicates a type error.">TypeException</a></td><td>if the value is not null and has a type other than <a class="el" href="group__json.html#gga9952f308537fd1bea762f1bd114fd5c0a113d10e88eba44ad0deedaa1e3cd42bb">Json::StringType</a> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aa0b35edebde929754c0655825ed54143"></a><!-- doxytag: member="Wt::Json::Value::orIfNull" ref="aa0b35edebde929754c0655825ed54143" args="(bool v) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Wt::Json::Value::orIfNull </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Extracts the boolean value, using a fallback when null. </p>
<p>This is similar to the boolean cast operator, but this method returns a fallback when the value is null instead of throwing an exception.</p>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classWt_1_1Json_1_1TypeException.html" title="Exception that indicates a type error.">TypeException</a></td><td>if the value is not null and has a type other than <a class="el" href="group__json.html#gga9952f308537fd1bea762f1bd114fd5c0a7340a85b621237525000bc8eaa63c296">Json::BoolType</a> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a1f22e8e2b82291f3c8e7eaec25b725b1"></a><!-- doxytag: member="Wt::Json::Value::orIfNull" ref="a1f22e8e2b82291f3c8e7eaec25b725b1" args="(int v) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Wt::Json::Value::orIfNull </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Extracts the number value, using a fallback when null. </p>
<p>This is similar to the int cast operator, but this method returns a fallback when the value is null instead of throwing an exception.</p>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classWt_1_1Json_1_1TypeException.html" title="Exception that indicates a type error.">TypeException</a></td><td>if the value is not null and has a type other than <a class="el" href="group__json.html#gga9952f308537fd1bea762f1bd114fd5c0a178a1c36b90e58cf065dbb1bbb243d32">Json::NumberType</a> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a7450c3653a9520ef79b474a32a3d9ec4"></a><!-- doxytag: member="Wt::Json::Value::orIfNull" ref="a7450c3653a9520ef79b474a32a3d9ec4" args="(long long v) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">long long Wt::Json::Value::orIfNull </td>
          <td>(</td>
          <td class="paramtype">long long&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Extracts the number value, using a fallback when null. </p>
<p>This is similar to the long long cast operator, but this method returns a fallback when the value is null instead of throwing an exception.</p>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classWt_1_1Json_1_1TypeException.html" title="Exception that indicates a type error.">TypeException</a></td><td>if the value is not null and has a type other than <a class="el" href="group__json.html#gga9952f308537fd1bea762f1bd114fd5c0a178a1c36b90e58cf065dbb1bbb243d32">Json::NumberType</a> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="af1a0d96a4f23b0172debc581ee19da3e"></a><!-- doxytag: member="Wt::Json::Value::orIfNull" ref="af1a0d96a4f23b0172debc581ee19da3e" args="(double v) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Wt::Json::Value::orIfNull </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Extracts the number value, using a fallback when null. </p>
<p>This is similar to the double cast operator, but this method returns a fallback when the value is null instead of throwing an exception.</p>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classWt_1_1Json_1_1TypeException.html" title="Exception that indicates a type error.">TypeException</a></td><td>if the value is not null and has a type other than <a class="el" href="group__json.html#gga9952f308537fd1bea762f1bd114fd5c0a178a1c36b90e58cf065dbb1bbb243d32">Json::NumberType</a> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a5042fbd589a040bbf08cd84e5d8e2487"></a><!-- doxytag: member="Wt::Json::Value::orIfNull" ref="a5042fbd589a040bbf08cd84e5d8e2487" args="(const Array &amp;v) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classWt_1_1Json_1_1Array.html">Array</a> &amp; Wt::Json::Value::orIfNull </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1Json_1_1Array.html">Array</a> &amp;&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Extracts the array value, using a fallback when null. </p>
<p>This is similar to the <a class="el" href="classWt_1_1Json_1_1Array.html" title="A JSON array.">Array</a> cast operator, but this method returns a fallback when the value is null instead of throwing an exception.</p>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classWt_1_1Json_1_1TypeException.html" title="Exception that indicates a type error.">TypeException</a></td><td>if the value is not null and has a type other than <a class="el" href="group__json.html#gga9952f308537fd1bea762f1bd114fd5c0a7a82f1b8afcdc842e9e9b783cb66157e">Json::ArrayType</a> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a12fd3d68f7579bc9337c916f4e7a7b6a"></a><!-- doxytag: member="Wt::Json::Value::orIfNull" ref="a12fd3d68f7579bc9337c916f4e7a7b6a" args="(const Object &amp;v) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classWt_1_1Json_1_1Object.html">Object</a> &amp; Wt::Json::Value::orIfNull </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1Json_1_1Object.html">Object</a> &amp;&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Extracts the object value, using a fallback when null. </p>
<p>This is similar to the <a class="el" href="classWt_1_1Json_1_1Object.html" title="A JSON object.">Object</a> cast operator, but this method returns a fallback when the value is null instead of throwing an exception.</p>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classWt_1_1Json_1_1TypeException.html" title="Exception that indicates a type error.">TypeException</a></td><td>if the value is not null and has a type other than <a class="el" href="group__json.html#gga9952f308537fd1bea762f1bd114fd5c0a3fb5937a14d2855a08ad36542c222791">Json::ObjectType</a> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a754c1665471f0e41493d2351f49e1825"></a><!-- doxytag: member="Wt::Json::Value::toBool" ref="a754c1665471f0e41493d2351f49e1825" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classWt_1_1Json_1_1Value.html">Value</a> Wt::Json::Value::toBool </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Converts the value to a boolean. </p>
<p>A string value of "true" or "false" is interpreted as a boolean. Otherwise, <a class="el" href="classWt_1_1Json_1_1Value.html#a344e20a378d9e91effbf91772b409942" title="Null constant.">Null</a> is returned. </p>

</div>
</div>
<a class="anchor" id="a5914ba5fbacf8e38b0c18726163385d9"></a><!-- doxytag: member="Wt::Json::Value::toNumber" ref="a5914ba5fbacf8e38b0c18726163385d9" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classWt_1_1Json_1_1Value.html">Value</a> Wt::Json::Value::toNumber </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Converts the value to a number. </p>
<p>A string value is lexically casted to a number. If this fails, or for a boolean, array or object type, <a class="el" href="classWt_1_1Json_1_1Value.html#a344e20a378d9e91effbf91772b409942" title="Null constant.">Null</a> is returned. </p>

</div>
</div>
<a class="anchor" id="ab51a0087aee7644eb6b8121a8de7e363"></a><!-- doxytag: member="Wt::Json::Value::toString" ref="ab51a0087aee7644eb6b8121a8de7e363" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classWt_1_1Json_1_1Value.html">Value</a> Wt::Json::Value::toString </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Converts the value to a string. </p>
<p>The value is lexically casted to a string. For an object or array value, this coercion is not defined and <a class="el" href="classWt_1_1Json_1_1Value.html#a344e20a378d9e91effbf91772b409942" title="Null constant.">Null</a> is returned. </p>

</div>
</div>
<a class="anchor" id="a7dae7abf48498249738f2a73254e36cc"></a><!-- doxytag: member="Wt::Json::Value::type" ref="a7dae7abf48498249738f2a73254e36cc" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__json.html#ga9952f308537fd1bea762f1bd114fd5c0">Type</a> Wt::Json::Value::type </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the type. </p>
<p>Returns the type of this value. </p>

</div>
</div>
<a class="anchor" id="afaaad5b35b6a335625f3ffd1864b26f9"></a><!-- doxytag: member="Wt::Json::Value::typeOf" ref="afaaad5b35b6a335625f3ffd1864b26f9" args="(const std::type_info &amp;type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__json.html#ga9952f308537fd1bea762f1bd114fd5c0">Type</a> Wt::Json::Value::typeOf </td>
          <td>(</td>
          <td class="paramtype">const std::type_info &amp;&#160;</td>
          <td class="paramname"><em>type</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the JSON type that corresponds to a C++ type. </p>
<p>This is a utility method for converting between C++ types and JSON types. </p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="af1ed0e8d1b099f4cbc30001d65928f8e"></a><!-- doxytag: member="Wt::Json::Value::False" ref="af1ed0e8d1b099f4cbc30001d65928f8e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classWt_1_1Json_1_1Value.html">Value</a> <a class="el" href="classWt_1_1Json_1_1Value.html#af1ed0e8d1b099f4cbc30001d65928f8e">Wt::Json::Value::False</a><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>False constant. </p>
<p>A constant value of type <a class="el" href="group__json.html#gga9952f308537fd1bea762f1bd114fd5c0a7340a85b621237525000bc8eaa63c296">Json::BoolType</a> with value <code>false</code>, i.e. as constructed by <code>Json::Value(false)</code> </p>

</div>
</div>
<a class="anchor" id="a344e20a378d9e91effbf91772b409942"></a><!-- doxytag: member="Wt::Json::Value::Null" ref="a344e20a378d9e91effbf91772b409942" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classWt_1_1Json_1_1Value.html">Value</a> <a class="el" href="classWt_1_1Json_1_1Value.html#a344e20a378d9e91effbf91772b409942">Wt::Json::Value::Null</a><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Null constant. </p>
<p>A constant value with type <a class="el" href="group__json.html#gga9952f308537fd1bea762f1bd114fd5c0ad9f53f81b36049511b71b094f6f1ed33">Json::NullType</a>, i.e. as constructed by <code>Json::Value()</code>. </p>

</div>
</div>
<a class="anchor" id="a0b472f97bcb1908d148aab05a675d611"></a><!-- doxytag: member="Wt::Json::Value::True" ref="a0b472f97bcb1908d148aab05a675d611" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classWt_1_1Json_1_1Value.html">Value</a> <a class="el" href="classWt_1_1Json_1_1Value.html#a0b472f97bcb1908d148aab05a675d611">Wt::Json::Value::True</a><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>True constant. </p>
<p>A constant value of type <a class="el" href="group__json.html#gga9952f308537fd1bea762f1bd114fd5c0a7340a85b621237525000bc8eaa63c296">Json::BoolType</a> with value <code>true</code>, i.e. as constructed by <code>Json::Value(true)</code>. </p>

</div>
</div>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr size="1"><address style="text-align: right; margin: 3px"><small>
Generated on Thu Nov 1 2012 for <a href="http://www.webtoolkit.eu/wt">the
C++ Web Toolkit (Wt)</a> by&nbsp;<a
href="http://www.doxygen.org/index.html"><img src="doxygen.png"
alt="doxygen" border="0" style="vertical-align: middle; display:
inline-block; height: 2em"></a> 1.7.5.1</small></address>
</body>
</html>