def _update_version_in_json_manifest(content, new_version_number):
 updated = json.loads(content)
 if ('version' in updated):
  updated['version'] = new_version_number
 return json.dumps(updated)

def _update_version_in_json_manifest ( content , new_version_number ) : updated = json . loads ( content ) if ( 'version' in updated ) : updated [ 'version' ] = new_version_number return json . dumps ( updated )
change the version number in the json manifest file provided .