Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

dart json encode example

import 'dart:convert';

main() {
  List<String> tags = ['tagA', 'tagB', 'tagC'];
  String jsonTags = jsonEncode(tags);
  print(jsonTags);      // ["tagA","tagB","tagC"]
}
Source by bezkoder.com #
 
PREVIOUS NEXT
Tagged: #dart #json #encode
ADD COMMENT
Topic
Name
1+1 =