Skip to content

VinayKadalagi/Python-Json-Transform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python Json Transform

Dynamically updating keys in json using python

DataTransform.py - Main file which runs the transformation where it refers jsonMap dict as lookup for old value and new value of the key to be tranformed. It is reading bwi.json as input json and finding keys with mentioned in jsonMap dict and replacing them with corresponding value in jsonMaps dict.

bwi.json - Input file in which the key is updated dynamically based on jsonMap dict.