I don't want to use Microsoft.Hadoop.Avro. Is there any way to convert JSON data directly to Avro schema in C# and asp.net core API.
Example: Json Data:
{"name":"John", "age":30, "car":null}
Avro Schema:
"name": "MyClass",
"type": "record",
"namespace": "com.acme.avro",
"fields": [
{
"name": "name",
"type": "string"
},
{
"name": "age",
"type": "int"
},
{
"name": "car",
"type": [
"string",
"null"
]
}
]
}```