7 def decode_json_files(json_files):
8 for json_file in json_files:
10 with open(json_file) as fp:
11 parsed_json = json.load(fp)
12 sdp = parsed_json['sdp']
18 parser = argparse.ArgumentParser(description='Decode SDP JSON')
19 parser.add_argument('json', nargs='+', help='JSON file')
20 args = parser.parse_args()
21 decode_json_files(args.json)
24 if __name__=='__main__':