Hi
Is there any way how to serialize/deserialize structure or class in PB?
I've found a thread which use PBNI but I'm looking for a pure PB solution. Is it even possible? The main issue is how to get/set values.
My goal is to find a better way how to transfer complex objects between PB and C# and JSON would be fine solution.
Do you have any idea how to do it?
Thank you
I've done both using C++ PBNI but not using JSON strings. I used simple delimited strings.
I've seen the PBNI based solution. I've no experience with PBNI so I'm afraid of 3 things:
1. Is it UTF16 ready? Isn't there a hidden ascii call somewhere?
2. Is it independent to PBVM version, location, client computer settings etc? Does it work in 64bit project, with powerclient etc?
3. Isn't PBNI invoke a significant performance issue?
2. Yes. PBNI is not PB version dependent. You can compile the C++ as 64bit and it works fine with PB 64bit apps. I don't see why it wouldn't work with PowerClient.
3. No. There is no delay entering or exiting the C++ code. I have done timings to answer that.