I am creating a level editor in Dart for my cocos2d-x game and I have to parse animations stored plist files. Has anyone created or found a library for parsing plists in Dart? If not, I guess I will have to write my own.
Asked
Active
Viewed 710 times
2 Answers
1
I am not aware of any plist parser, but you could convert the plist to JSON (https://stackoverflow.com/a/10991695/1919627) then parse using the dart:convert library:
Map parsedData = JSON.decode(mapAsJson);
-
That is a possible solution but doesn't fully fit my needs. Thanks anyway. – Elviss Strazdins Feb 18 '14 at 20:51
-
@ElvissStrazdins Did you write it? – Alan Apr 20 '20 at 06:04
0
Eight years later — a very useful package called plist_parser
is available on pub.dev. It is based on the xml
package to parse plist data from strings, files or binaries.

mrcendre
- 1,053
- 2
- 15
- 28