Reads stdin jboss output, writes json on output
    :return:

def main():
    """
    Reads stdin jboss output, writes json on output
    :return:
    """
    buff = ''
    for line in fileinput.input():
        buff += line

    parser = jbossparser.JbossParser()
    result = parser.parse(buff)
    print(json.dumps(result))