skip to Main Content

Json – save a string in dictionary

I have in following string: [{"key":"cod1","value":["RR4","RR6"]},{"key":"cod2","value":["RR2","RR3"]},{"key":"cod3","value":["RR1","RR2"]}] and I want to save it in a dictionary like this: Dictionary<string, List> The project is made in C# and to try to do it I use the following statement: Dictionary<string, List<string>> dic =…

VIEW QUESTION

how to remove data from List<map> message = []; – Flutter

[ { "booking_no": "HC60398", "sender_name": "Tanvir", "receiver_name": "House", "sender_image": "image link", "receiver_image": "image link", "chat_id": "2", "message": "hlw", "files": [], }, { "booking_no": "HC60398", "sender_name": "Tanvir", "receiver_name": "House", "sender_image": "image link", "receiver_image": "image link", "chat_id": "2", "message": "hi", }, {…

VIEW QUESTION
Back To Top
Search