Skip to main content

xml_serializable 2.5.5 copy "xml_serializable: ^2.5.5" to clipboard
xml_serializable: ^2.5.5 copied to clipboard

Automatically generate code for converting to and from XML by annotating Dart classes.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add xml_serializable

With Flutter:

 $ flutter pub add xml_serializable

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  xml_serializable: ^2.5.5

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:xml_serializable/xml_serializable.dart';
11
likes
120
points
5.14k
downloads

Documentation

API reference

Publisher

verified publisherthomasclark.dev

Weekly Downloads

Automatically generate code for converting to and from XML by annotating Dart classes.

Repository (GitHub)

License

MIT (license)

Dependencies

analyzer, build, build_config, recase, source_gen, source_helper, xml, xml_annotation

More

Packages that depend on xml_serializable