Hank already pointed you to a solution probably good enough.
>By "best" I mean the easiest, fastest and most standardized tool to interact with VFP 9.
I doubt you will tax vfp with nfJSON while you still have lots of control.
But as you specifically ask to create a cursor and "fastest", I'd look at creating a byte stream
from JSON, which is string handling.
Marshalling once into Dotnet or even calling another process to parse hundreds of MByte
to either create csv, SDF or a dbf as byte stream will have a fixed call overhead and process
each JSON record faster, so for large reccount() and large recsize() with many I, D,Y fields
calling into Dotnet or a C process will be faster - you could also write out the dbf file as stteam.
HTH
thomas
>Hi. I'll begin to develop a small web service in VFP 9. This web service will receive and send Json data. But I need to know what is the best available tool for encoding/decoding Json strings. By "best" I mean the easiest, fastest and most standardized tool to interact with VFP 9. Of course, if it would allow me to create cursor from Json, that would be a big plus.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only