Python Response Json Get Function In Hashmap