https://github.com/jonaskello/dart_serialization_no_mirrors
Example of serializaton in Dart
https://github.com/jonaskello/dart_serialization_no_mirrors
Last synced: about 1 year ago
JSON representation
Example of serializaton in Dart
- Host: GitHub
- URL: https://github.com/jonaskello/dart_serialization_no_mirrors
- Owner: jonaskello
- License: bsd-3-clause
- Created: 2015-01-06T21:49:52.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-01-14T23:29:10.000Z (over 11 years ago)
- Last Synced: 2024-10-06T02:20:18.469Z (over 1 year ago)
- Language: Dart
- Size: 137 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Dart serialization example
Example of how to transfer Dart classes with the serialization package.
This example uses hand-written serialization rules and immutable DTO classes.
To run the example, both the client and the server need to be started.
In Webstorm you can do this directly as two launches.
If you are using a text-editor, you can use the command-line.
Make the current directory the root of the project and execute:
```
pub serve
pub run bin/server.dart
```
Once it is running, open a web-browser to or to the pub server port (http://localhost:8080) and press the button.