Satish,
> We can use option (1).
> But, Only thing is, on the CP side, we have some restrictions to have a
> format either as google protobuf (or) JSON format.
> Do we have builtin Json serialize/deserialize support in VPP for JSON
> messages into C structures .
> If so, can you please point me to some code references.
Let’s see:
- VAT does create JSON (manually) from API. But please don’t reuse that.
- It would be relatively trivial to auto-generate a JSON representation from
the Python binding.
(but you might not want this in Python for performance reasons)
- Shwetha wrote a poc API -> GRPC server a while back.
It has been on my list for a while to write a VPP API to gRPC proxy.
(help appreciated!)
Cheers,
Ole
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#11499): https://lists.fd.io/g/vpp-dev/message/11499
Mute This Topic: https://lists.fd.io/mt/28583926/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-