VinayKadalagi / Python-Json-Transform

Dynamically updating keys in json using python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Dynamically updating keys in json using python

License:GNU General Public License v3.0


Languages

Language:Python 100.0%