Convert Protobuf message into JSON string. While doing the conversion from Protobuf to JSON string identify the fields with data type big Decimal in Protobuf message and convert to java big decimal, Date and timestamp are coming a Ephoc time (unix_timestamp in milli seconds) in Protobuf message convert them to java date and timestamp respectively. Also flatten out the Protobuf message by creating one row for each element in the nested objects.
Need to develop a generic program in java which will take the Protobuf message and definition, convert the above mentioned fields with data types(big decimal, date and timestamp), return actual JSON string and flatten JSON with multiple rows.
The java application should be able to translate arbitrary Protobuf message into JSON string by taking the Protobuf message definition. Also develop a second program to flatten nested messages and return multiple rows for a give input message.
I have attached the sample data file for reference.
5 freelancere byder i gennemsnit $196 timen for dette job
Hi Greetings I have expertise with similar applications. Worked with json protobuf schema formats for kafka streaming applications using spring. Thanks