AvroConvert 1.5.1
See the version list below for details.
dotnet add package AvroConvert --version 1.5.1
NuGet\Install-Package AvroConvert -Version 1.5.1
<PackageReference Include="AvroConvert" Version="1.5.1" />
<PackageVersion Include="AvroConvert" Version="1.5.1" />
<PackageReference Include="AvroConvert" />
paket add AvroConvert --version 1.5.1
#r "nuget: AvroConvert, 1.5.1"
#:package AvroConvert@1.5.1
#addin nuget:?package=AvroConvert&version=1.5.1
#tool nuget:?package=AvroConvert&version=1.5.1
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)
Serialization examples:
1) Plain object:
public class NestedTestClass
{
public string justSomeProperty { get; set; }
public long andLongProperty { get; set; }
}
//Produces following schema:
"{"type":"record","name":"AvroConvertTests.NestedTestClass","fields":[{"name":"justSomeProperty","type":["null","string"]},{"name":"andLongProperty","type":"long"}]}"
2) Using attributes:
[DataContract(Name = "User", Namespace = "user")]
public class AttributeClass
{
[DataMember(Name = "name")]
public string StringProperty { get; set; }
[DataMember(Name = "favorite_number")]
[NullableSchema]
public int? NullableIntProperty { get; set; }
[DataMember(Name = "favorite_color")]
public string AndAnotherString { get; set; }
}
//Produces following schema:
"{"type":"record","name":"user.User","fields":[{"name":"name","type":["null","string"]},{"name":"favorite_number","type":["null","int"]},{"name":"favorite_color","type":["null","string"]}]}"
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- AutoMapper (>= 8.0.0)
- Newtonsoft.Json (>= 12.0.2)
- System.Reflection.Emit (>= 4.3.0)
NuGet packages (6)
Showing the top 5 NuGet packages that depend on AvroConvert:
| Package | Downloads |
|---|---|
|
Memphis.Client
Memphis.Client SDK intended to make easy integration of Memphis into .NET projects |
|
|
SolTechnology.Avro.Kafka
Library containing extensions for Confluent Kafka platform |
|
|
SolTechnology.Avro.Http
Library containing functionalities, which enable communication between microservices using Avro data format |
|
|
OptimoveSdk.Engager.Integration
SDK for Engagers intergration with Optimove |
|
|
SolTechnology.Core.ApiClient
SolTechnology Core API client library |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 3.4.16 | 18,298 | 9/18/2025 | |
| 3.4.15 | 83,800 | 3/31/2025 | |
| 3.4.14 | 23,462 | 3/19/2025 | |
| 3.4.12 | 11,457 | 3/7/2025 | |
| 3.4.11 | 3,466 | 3/6/2025 | |
| 3.4.10 | 113,277 | 10/21/2024 | |
| 3.4.9 | 131,934 | 9/18/2024 | |
| 3.4.8 | 282,434 | 5/8/2024 | |
| 3.4.7 | 6,559 | 4/26/2024 | |
| 3.4.6 | 41,792 | 3/4/2024 | |
| 3.4.5 | 13,482 | 2/15/2024 | |
| 3.4.4 | 34,130 | 1/16/2024 | |
| 3.4.3 | 91,414 | 12/9/2023 | |
| 3.4.2 | 11,574 | 12/1/2023 | |
| 3.4.1 | 17,239 | 11/11/2023 | |
| 3.4.0 | 33,795 | 9/18/2023 | |
| 3.3.7 | 27,910 | 8/7/2023 | |
| 3.3.6 | 51,131 | 5/29/2023 | |
| 3.3.5 | 10,963 | 5/11/2023 | |
| 3.3.4 | 85,474 | 3/3/2023 | |
| 3.3.3 | 3,070 | 2/28/2023 | |
| 3.3.2 | 24,322 | 2/6/2023 | |
| 3.3.1 | 5,504 | 1/27/2023 | |
| 3.3.0 | 141,636 | 10/11/2022 | |
| 3.2.9 | 80,901 | 6/22/2022 | |
| 3.2.8 | 4,931 | 6/1/2022 | |
| 3.2.7 | 5,110 | 5/23/2022 | |
| 3.2.6 | 3,361 | 5/16/2022 | |
| 3.2.5 | 64,963 | 4/13/2022 | |
| 3.2.4 | 3,304 | 4/10/2022 | |
| 3.2.3 | 32,937 | 10/29/2021 | |
| 3.2.2 | 33,100 | 10/2/2021 | |
| 3.2.1 | 3,610 | 9/29/2021 | |
| 3.2.0 | 9,969 | 9/14/2021 | |
| 3.1.5 | 28,042 | 8/30/2021 | |
| 3.1.4 | 8,415 | 8/12/2021 | |
| 3.1.3 | 10,182 | 8/2/2021 | |
| 3.1.2 | 6,958 | 6/24/2021 | |
| 3.1.1 | 3,676 | 6/14/2021 | |
| 3.1.0 | 29,387 | 5/15/2021 | |
| 3.0.1 | 9,446 | 4/2/2021 | |
| 3.0.0 | 27,587 | 3/26/2021 | |
| 2.7.1 | 58,663 | 2/5/2021 | |
| 2.7.0 | 37,267 | 12/18/2020 | |
| 2.6.3 | 5,666 | 10/25/2020 | |
| 2.6.2 | 3,037 | 10/23/2020 | |
| 2.6.1 | 6,845 | 7/25/2020 | |
| 2.6.0 | 3,098 | 7/22/2020 | |
| 2.5.1 | 4,040 | 6/11/2020 | |
| 2.5.0 | 23,409 | 5/15/2020 | |
| 2.4.1 | 4,020 | 4/14/2020 | |
| 2.4.0 | 3,528 | 3/25/2020 | |
| 2.3.0 | 3,764 | 3/19/2020 | |
| 2.2.2 | 3,653 | 2/7/2020 | |
| 2.2.1 | 3,125 | 2/7/2020 | |
| 2.2.0 | 3,205 | 1/27/2020 | |
| 2.1.0 | 3,123 | 1/16/2020 | |
| 2.0.0 | 3,111 | 1/4/2020 | |
| 1.8.1 | 1,061 | 12/9/2019 | |
| 1.8.0 | 4,023 | 8/30/2019 | |
| 1.7.0 | 834 | 8/22/2019 | |
| 1.6.0 | 851 | 7/22/2019 | |
| 1.5.1 | 977 | 7/14/2019 | |
| 1.5.0 | 957 | 7/11/2019 | |
| 1.4.0 | 817 | 6/17/2019 | |
| 1.3.0 | 850 | 6/4/2019 | |
| 1.2.0 | 929 | 6/3/2019 | |
| 1.1.0 | 874 | 5/28/2019 | |
| 1.0.1 | 949 | 5/21/2019 | |
| 1.0.0 | 3,811 | 4/24/2019 | |
| 0.8.0 | 3,777 | 5/1/2019 | |
| 0.7.0 | 3,859 | 4/22/2019 | |
| 0.6.3 | 3,743 | 4/19/2019 | |
| 0.6.2 | 3,765 | 4/19/2019 | |
| 0.6.1 | 3,747 | 4/19/2019 | |
| 0.6.0 | 3,745 | 4/19/2019 | |
| 0.5.0 | 3,983 | 4/18/2019 | |
| 0.3.0 | 4,254 | 4/11/2019 | |
| 0.2.1 | 1,437 | 4/11/2019 | |
| 0.2.0 | 1,429 | 4/11/2019 | |
| 0.1.0 | 1,615 | 4/10/2019 |