dockers/API/restV1.py
def make_json(row_headers, data):
    '''
    Make a json from the sql list in list
    '''
    json_data=[]
    for result in data:
        result = list(result)
        result[2] = str(result[2])
        result[3] = str(result[3])
        json_data.append(dict(zip(row_headers,result)))
    return json_data

    Make a json from the sql list in list
    
Make a json from the sql list in list
Make a json from the sql list in list
def make_json(row_headers, data):
    json_data=[]
    for result in data:
        result = list(result)
        result[2] = str(result[2])
        result[3] = str(result[3])
        json_data.append(dict(zip(row_headers,result)))
    return json_data
def make_json ( row_headers , data ) : json_data = [ ] for result in data : result = list ( result ) result [ 2 ] = str ( result [ 2 ] ) result [ 3 ] = str ( result [ 3 ] ) json_data . append ( dict ( zip ( row_headers , result ) ) ) return json_data
Make a json from the sql list in list
Make a json from the sql list in list
'''
    Make a json from the sql list in list
    '''
row_headers
data