I have a json file which i am loading in order to filter through a certain key called "sender_id". I can seem to filter through any other keys but when it comes to filtering for "sende_id" it results in a KeyError: 'sender_id'
My python script is as follows:
import json_lines
with open('specifications.jsonl', 'rb') as f:
for item in json_lines.reader(f):
print(item["sender_id"])
My jsonlines file sample as as below :
{"status": "Inactive", "no_of_rejected_submissions": 0, "name":
"multi senders 6", "data_type": "acute", "author": "JKS",
"