Boehm is not a precise GC and thus "dirty". > Without boehm, I have to clone the code for the json parser, then alter it to > use createShared. My data structures won't be garbage collected. Is that > really cleaner?
No, you only have to `protect` and `dispose` the Json. You can wrap the dispose in another ref with a finalizer and have 100% automatic memory management with thread local GCs. That still doesn't make it the most beautiful memory management design out there, but it's not too bad.