Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

remove duplicates in json in flutter

var json = jsonDecode(yourJsonAsString);
var records = mutableListFrom(json["records"]);
var distinct = records.distinctBy((it) => it["Title"]);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #duplicates #json #flutter
ADD COMMENT
Topic
Name
7+5 =