--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric7/Documentation/Source/eric7.EricNetwork.EricJsonStreamWriter.html Mon May 23 18:15:10 2022 +0200 @@ -0,0 +1,117 @@ +<!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> \ No newline at end of file