Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

How to convert Avro message to JSON structure?

Solved1.39K views12th July 2023avro C++ Connector driver development JSON
2
Gabriel Borges [SLC] [DevOps Advocate]646 14th November 2022 2 Comments

Hello Dojo,

I am working on a connector that receives messages in Avro format, which seems similar to a compressed JSON structure. I was wondering if anyone knows of an easy way to convert those messages to a readable JSON structure to be able to parse in the code? I have the Avro Schema of the message.

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 12th July 2023
Lander Vanhaverbeke [SLC] [DevOps Member] commented 15th November 2022

Could this be what you need? https://github.com/AdrianStrugala/AvroConvert

Gabriel Borges [SLC] [DevOps Advocate] commented 15th November 2022

I am actually using that currently, the issue is that a paid license is needed for commercial use. So I was hoping someone had an example on how to make the conversion using the official Apache Nuget or other open source package.

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
1
Gabriel Borges [SLC] [DevOps Advocate]646 Posted 3rd January 2023 0 Comments

After much investigation, we have purchased the license for Landers suggestion of AvroConvert.

This Nuget is more generic and simpler to use than many of the Nuget packages I have come across. I believe the only time using the Nuget is not necessary is when the Kafka servers support Schema Registries and is able to deserialize the messages while consuming.

Thank you all for all your help!

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 12th July 2023
1
João Severino [SLC] [DevOps Catalyst]13.14K Posted 30th December 2022 0 Comments

Hi Gabriel,

I do not personally have any experience working with the Avro format but there appear to be a few alternatives in the NuGet store when searching for Avro.

One that caught my attention is the Apache.Avro, looks to be maintained by Apache themselves and since they “created” Avro I would think it should provide most features needed.

Also, the license looks more permissive than the one of AvroConvert as they use Apache License 2.0

Do you think it could work or have you found that it has any limitations?

João Severino [SLC] [DevOps Catalyst] Answered question 30th December 2022
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs