dart_avro 0.0.3 copy "dart_avro: ^0.0.3" to clipboard
dart_avro: ^0.0.3 copied to clipboard

Pure dart implementation of apache avro encoding and decoding

example/main.dart

// ignore_for_file: avoid_print

import 'dart:typed_data';

import 'package:dart_avro/dart_avro.dart';

void main() {
  final Map<String, dynamic> schema = {
    'type': 'int',
  };

  // Encode data
  final Uint8List data = DartAvro.encodeJson(schema, 23);

  // Decode data
  final int decoded = DartAvro.decodeJson(schema, data) as int;
  print(decoded);
}
0
likes
160
pub points
40%
popularity

Publisher

verified publisherdevac.fr

Pure dart implementation of apache avro encoding and decoding

Repository (GitHub)
View/report issues

Documentation

API reference

License

AGPL-3.0 (license)

More

Packages that depend on dart_avro