On Fri, Jul 30, 2021 at 11:07 AM Kush Trivedi <[email protected]> wrote:

> I have an variable of Struct(protobuf) type & now I want it to convert to
> Map<String, Object> since Jackson is unable to serialise a Struct(protobuf)
> type object.
>

I'm not aware of such a util. Most of the consumers of Struct use Struct
directly. I think you'd need to write a converter. Seems like a simple
recursive converter could be written in, say, ~30 lines of code. Value is
very simple, so it'd mainly be a switch on the kind oneof.

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/CA%2B4M1oPhqDZ%3D6wV4oZhKMyZJdw%3DZz-AWiqZNzDoeL5AfGAOnTQ%40mail.gmail.com.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to