Skip to main content
1 of 3
ferada
  • 11.1k
  • 25
  • 63
  1. I don't see why del jsonobject[...] would be necessary before reassigning that key. Also, the test in the last two lines could also be simplified to something like jsonobject.pop('small_encoded_polyline', None) if you don't care about that key, no?
ferada
  • 11.1k
  • 25
  • 63