Skip to content

AdrianStrugala/AvroConvertFork

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nuget: (https://www.nuget.org/packages/AvroConvert)

AvroConvert

Small and fast library for serializing c# objects to avro format and vice versa

// Serialize
  byte[] avroObject = AvroConvert.Serialize(object yourObject);

// Deserialize
  CustomClass deserializedObject = AvroConvert.Deserialize<CustomClass>(byte[] avroObject);

  Dictionary<string, object> mapOfPropertiesAndValues = AvroConvert.Deserialize(byte[] avroObject);  

// Generate Avro schema for object 
  string schemaInJsonFormat = AvroConvert.GenerateSchema(object yourObject);
  
//Get schema from Avro object
  string schemaInJsonFormat = AvroConvert.GetSchema(byte[] avroObject)

About

Library for serializing and deserializing c# objects into Avro format

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%