Are you trying to debug some sort of deserialization issue, or do you want
to convert for some other reason? Note that you can determine the actual
TBase object you need to deserialize without too much difficulty - it's in
the class that contains the Iface.

When I need to debug serialized stuff, I tend to just hand-parse it. I'm
probably a bit of an exception though, since I'm a Java-protocol hacker :)

On Thu, Feb 11, 2010 at 7:19 PM, Rokita, Greg <[email protected]> wrote:

> Is there a way to generically convert TBinaryProtocol byte array to
> TJsonProtocol given a reference to Iface  for that message?  (in Java)
>
> I looked at the code but the serialization requires me to have concrete
> TBase object.  All I have is Iface interface.
>
> I'm sure someone needed that before for debugging...
>
>

Reply via email to