Creating Dynamic JSON on basis of excel data

Lets say i have more than 10 fields that needs to be changed i will need to use 10 mutliple assigns? any shorter way to do this?