Index: pkg/serialization/lib/serialization.dart |
diff --git a/pkg/serialization/lib/serialization.dart b/pkg/serialization/lib/serialization.dart |
index 130be2741fa33dfd53dfdbeb26d59927353a605c..565154d2f67b9ea5a68080cbdb6869408545a47a 100644 |
--- a/pkg/serialization/lib/serialization.dart |
+++ b/pkg/serialization/lib/serialization.dart |
@@ -7,6 +7,19 @@ |
* [Serialization] is defined in terms of [SerializationRule]s and supports |
* reading and writing to different formats. |
* |
+ * ## Installing ## |
+ * |
+ * Use [pub][] to install this package. Add the following to your `pubspec.yaml` |
+ * file. |
+ * |
+ * dependencies: |
+ * serialization: any |
+ * |
+ * Then run `pub install`. |
+ * |
+ * For more information, see the |
+ * [serialization package on pub.dartlang.org][pkg]. |
+ * |
* Setup |
* ===== |
* A simple example of usage is |
@@ -181,6 +194,9 @@ |
* new Serialization() |
* ..addRuleFor(new Person(), constructorFields: ["name"]) |
* ..namedObjects['Person'] = reflect(new Person()).type; |
+ * |
+ * [pub]: http://pub.dartlang.org |
+ * [pkg]: http://pub.dartlang.org/packages/serialization |
*/ |
library serialization; |