I was looking at the docs and didn't see it, so I thought I'd ask. We are serializing some large results using wwJsonSerializer (which uses .NET). We're bumping into the VFP 16 MB string limit. Is there a way to tell this to serialize to a file instead?
-Paul
Serialization in wwJsonSerializer is handled by FoxPro code, so all of that is internal and not handled by .NET (other than some conversions like dates).
That said it might be able to do this however, since you can finangle your way around the 16 meg string limit and return >16 meg strings that can be dumped to file directly. Even if that doesn't work it's possible to potentially re-write the serializer to use a stream like API. All doable, not sure how worthwhile though 😃
I question if you should be serializing to JSON if you have 16+ meg output. Perhaps XML serialization is a better call - it'll be faster too and can be done in a single internal FoxPro function call.
+++ Rick ---