src/eric7/Documentation/Source/eric7.EricNetwork.EricJsonStreamWriter.html

Fri, 27 Oct 2023 14:09:40 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 27 Oct 2023 14:09:40 +0200
branch
eric7
changeset 10259
b51dfacef37f
parent 9209
b99e7fd55fd3
child 10479
856476537696
permissions
-rw-r--r--

Regenerated the source documentation with the corrected module parser.

<!DOCTYPE html>
<html><head>
<title>eric7.EricNetwork.EricJsonStreamWriter</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<a NAME="top" ID="top"></a>
<h1>eric7.EricNetwork.EricJsonStreamWriter</h1>

<p>
Module implementing a JSON based writer class.
</p>
<h3>Global Attributes</h3>

<table>
<tr><td>None</td></tr>
</table>
<h3>Classes</h3>

<table>

<tr>
<td><a href="#EricJsonWriter">EricJsonWriter</a></td>
<td>Class implementing a JSON based writer class.</td>
</tr>
</table>
<h3>Functions</h3>

<table>
<tr><td>None</td></tr>
</table>
<hr />
<hr />
<a NAME="EricJsonWriter" ID="EricJsonWriter"></a>
<h2>EricJsonWriter</h2>

<p>
    Class implementing a JSON based writer class.
</p>
<h3>Derived from</h3>
None
<h3>Class Attributes</h3>

<table>
<tr><td>None</td></tr>
</table>
<h3>Class Methods</h3>

<table>
<tr><td>None</td></tr>
</table>
<h3>Methods</h3>

<table>

<tr>
<td><a href="#EricJsonWriter.__init__">EricJsonWriter</a></td>
<td>Constructor</td>
</tr>
<tr>
<td><a href="#EricJsonWriter.close">close</a></td>
<td>Public method to close the stream.</td>
</tr>
<tr>
<td><a href="#EricJsonWriter.write">write</a></td>
<td>Public method to send JSON serializable data.</td>
</tr>
</table>
<h3>Static Methods</h3>

<table>
<tr><td>None</td></tr>
</table>

<a NAME="EricJsonWriter.__init__" ID="EricJsonWriter.__init__"></a>
<h4>EricJsonWriter (Constructor)</h4>
<b>EricJsonWriter</b>(<i>host, port</i>)

<p>
        Constructor
</p>
<dl>

<dt><i>host</i> (str)</dt>
<dd>
IP address the reader is listening on
</dd>
<dt><i>port</i> (int)</dt>
<dd>
port the reader is listening on
</dd>
</dl>
<a NAME="EricJsonWriter.close" ID="EricJsonWriter.close"></a>
<h4>EricJsonWriter.close</h4>
<b>close</b>(<i></i>)

<p>
        Public method to close the stream.
</p>
<a NAME="EricJsonWriter.write" ID="EricJsonWriter.write"></a>
<h4>EricJsonWriter.write</h4>
<b>write</b>(<i>data</i>)

<p>
        Public method to send JSON serializable data.
</p>
<dl>

<dt><i>data</i> (object)</dt>
<dd>
JSON serializable object to be sent
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial