Robot Framework
robot.htmldata.jsonwriter.JsonWriter Class Reference

Public Member Functions

def __init__ (self, output, separator='')
 
def write (self, string, postfix=';\n', separator=True)
 
def write_json (self, prefix, data, postfix=';\n', mapping=None, separator=True)
 

Private Member Functions

def _write_separator (self, separator)
 

Private Attributes

 _separator
 
 _writer
 

Detailed Description

Definition at line 16 of file jsonwriter.py.

Constructor & Destructor Documentation

◆ __init__()

def robot.htmldata.jsonwriter.JsonWriter.__init__ (   self,
  output,
  separator = '' 
)

Definition at line 18 of file jsonwriter.py.

Member Function Documentation

◆ _write_separator()

def robot.htmldata.jsonwriter.JsonWriter._write_separator (   self,
  separator 
)
private

Definition at line 33 of file jsonwriter.py.

◆ write()

def robot.htmldata.jsonwriter.JsonWriter.write (   self,
  string,
  postfix = ';\n',
  separator = True 
)

Definition at line 29 of file jsonwriter.py.

◆ write_json()

def robot.htmldata.jsonwriter.JsonWriter.write_json (   self,
  prefix,
  data,
  postfix = ';\n',
  mapping = None,
  separator = True 
)

Definition at line 22 of file jsonwriter.py.

Member Data Documentation

◆ _separator

robot.htmldata.jsonwriter.JsonWriter._separator
private

Definition at line 20 of file jsonwriter.py.

◆ _writer

robot.htmldata.jsonwriter.JsonWriter._writer
private

Definition at line 19 of file jsonwriter.py.


The documentation for this class was generated from the following file: