# system.kanoa.utilities.convertDatasetRowToJSON(data, rowIndex)

Converts the dataset row to a dictionary

---
### Parameters
**data** `Dataset`: Can be a pyDataset or a basic dataset<br />
**rowIndex** `Integer`: Index of the row to be converted to JSON. Usually is 0<br />

---
### Returns
**convertedDict** `Dictionary`<br />

---
### Example
```python
data = system.kanoa.shift.getShiftNames({'shiftName': '1st Shift'})
print system.kanoa.utilities.convertDatasetRowToJSON(data, 0)
> {
		'shiftName': u'1st Shift', 
		'changedDate': None, 
		'createdDate': None, 
		'createdBy': None, 
		'changedBy': None, 
		'shiftNameId': 1
	}
```
