An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

[![Test and Lint](https://github.com/okaryo/jsoniser/actions/workflows/test-and-lint.yml/badge.svg)](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}
```