https://github.com/okaryo/jsoniser
Dart package that provides class serialization to json.
https://github.com/okaryo/jsoniser
dart json serialization
Last synced: 11 months ago
JSON representation
Dart package that provides class serialization to json.
- Host: GitHub
- URL: https://github.com/okaryo/jsoniser
- Owner: okaryo
- License: mit
- Archived: true
- Created: 2022-03-05T00:50:33.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-03-05T03:31:57.000Z (over 4 years ago)
- Last Synced: 2025-07-30T08:49:38.128Z (12 months ago)
- Topics: dart, json, serialization
- Language: Dart
- Homepage: https://pub.dev/packages/jsoniser
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/okaryo/jsoniser/actions/workflows/test-and-lint.yml)
# jsoniser
Dart package that provides class serialization to json.
## Usage
```dart
class User with Jsoniser {
final string name;
final int age;
const User(this.name, this.age);
}
final user = User('okaryo', 100);
print(user.toJson());
// {'name': 'okaryo', 'age': 100}
```