I am getting this short of result when ever function processOutput(output) is called
output = {'LEND': '0', 'LINK': 'Xx', 'REND': '4', 'RULE': ''}
Suppose this function called thrice then result json should look like
{ 'object[0]' : {'LEND': '0', 'LINK': 'Xx', 'REND': '4', 'RULE': ''},
'object[1]' : {'LEND': '0', 'LINK': 'Xa', 'REND': '3', 'RULE': 'two'},
'object[2]' : {'LEND': '0', 'LINK': 'Xz', 'REND': '12', 'RULE': ''}
}
so that I can access json values in this way object[0]['LINK'] and so on
def printOutput(self, processed_output):
#processed_output is output.