Protobuf supports a JSON encoding
<https://developers.google.com/protocol-buffers/docs/proto3#json> that
might work for your use case.

On Wed, May 13, 2020 at 8:42 PM Eleanore Jin <[email protected]> wrote:

> Hi Shreshtha,
>
> Thanks for the reply! to give you more context of my use case:
> we can deserialize the message from proto into json (jackson), and within
> the application, we require to use json to process business logics, and
> when the message needs to be egressed out of the application, I would like
> to convert the message back to proto, as the downstream services expect the
> message to be in proto format.
>
> If the json based DSL can satisfy this use case, can you please provide
> more details how this can be used?
>
> Thanks a lot!
> Eleanore
>
> On Wednesday, May 13, 2020 at 7:48:49 PM UTC-7, Shreshtha Deepak wrote:
>>
>> We have created a json based DSL for creating workflows with dynamic data
>> and flows between basic workflow units. Is it possible to use a proto file
>> instead of the json to generate code in this case?
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Protocol Buffers" 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/protobuf/402e8055-8bc5-4c34-874e-840b018a7e2f%40googlegroups.com
> <https://groups.google.com/d/msgid/protobuf/402e8055-8bc5-4c34-874e-840b018a7e2f%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" 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/protobuf/CADqAXr7gX-TStfXxsCq%2B_iCTsd%2BF8P%3Dyt%2BoY_aHDjeo93ahWyA%40mail.gmail.com.

Reply via email to