Serialization of objects using InterprocessConnection

Hi.

I need to pass structures between processes using pips.
What is the best way in Juce to do it?

I saw that XmlDocument can use an InputSource so maybe using that…
I can write serialize()/desirialize () methods for my struct that utilize something like MemoryBlock::getNextInt() , MemoryBlock::putNextString()…

Isn’t any better way?

Thanks.

The fastest and most compact way would be with ValueTree::writeToStream()

Thanks Jules