AvroConvert 1.3.0
Small and fast library for serializing C# objects to avro format and vice versa
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
Install-Package AvroConvert -Version 1.3.0
dotnet add package AvroConvert --version 1.3.0
<PackageReference Include="AvroConvert" Version="1.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AvroConvert --version 1.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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)
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)
Dependencies
-
.NETStandard 2.0
- AutoMapper (>= 8.0.0)
- Newtonsoft.Json (>= 12.0.2)
- System.Reflection.Emit (>= 4.3.0)
Used By
NuGet packages (3)
Showing the top 3 NuGet packages that depend on AvroConvert:
Package | Downloads |
---|---|
SolTechnology.Avro.Http
Library containing functionalities, which enable communication between microservices using Avro data format
|
|
SlimMessageBus.Host.Serialization.AvroConvert
Extension to SlimMessageBus that provides Avro serialization based on the AvroConvert library
|
|
SolTechnology.Avro.Kafka
Library containing extensions for Confluent Kafka platform
|
GitHub repositories
This package is not used by any popular GitHub repositories.
Version History
Version | Downloads | Last updated |
---|---|---|
2.7.0 | 721 | 12/18/2020 |
2.6.3 | 1,132 | 10/25/2020 |
2.6.2 | 87 | 10/23/2020 |
2.6.1 | 1,703 | 7/25/2020 |
2.6.0 | 155 | 7/22/2020 |
2.5.1 | 932 | 6/11/2020 |
2.5.0 | 464 | 5/15/2020 |
2.4.1 | 959 | 4/14/2020 |
2.4.0 | 442 | 3/25/2020 |
2.3.0 | 358 | 3/19/2020 |
2.2.2 | 574 | 2/7/2020 |
2.2.1 | 169 | 2/7/2020 |
2.2.0 | 219 | 1/27/2020 |
2.1.0 | 154 | 1/16/2020 |
2.0.0 | 148 | 1/4/2020 |
1.8.1 | 438 | 12/9/2019 |
1.8.0 | 872 | 8/30/2019 |
1.7.0 | 219 | 8/22/2019 |
1.6.0 | 239 | 7/22/2019 |
1.5.1 | 264 | 7/14/2019 |
1.5.0 | 262 | 7/11/2019 |
1.4.0 | 219 | 6/17/2019 |
1.3.0 | 256 | 6/4/2019 |
1.2.0 | 255 | 6/3/2019 |
1.1.0 | 244 | 5/28/2019 |
1.0.1 | 253 | 5/21/2019 |
1.0.0 | 405 | 4/24/2019 |
0.8.0 | 360 | 5/1/2019 |
0.7.0 | 442 | 4/22/2019 |
0.6.3 | 376 | 4/19/2019 |
0.6.2 | 390 | 4/19/2019 |
0.6.1 | 374 | 4/19/2019 |
0.6.0 | 380 | 4/19/2019 |
0.5.0 | 406 | 4/18/2019 |
0.3.0 | 480 | 4/11/2019 |
0.2.1 | 380 | 4/11/2019 |
0.2.0 | 395 | 4/11/2019 |
0.1.0 | 411 | 4/10/2019 |