> How do I avoid accidentally trashing the refcounts?

protect and dispose only give you a `pointer` that you can cast to `ptr 
JsonObj` and so RCs are not affected.

> But as you mentioned before, I can force it with a cast. Is that part of the 
> solution you're suggesting?

Well yes. But you really need to be careful and even then it doesn't support 
multiple threads creating data and adding it to an existing datastructure 
wihout copies, so Boehm may indeed be what you want.

Reply via email to