Quantcast
Viewing all articles
Browse latest Browse all 3798

Released: nfJson (Feb 23, 2016)

Following functions are included as single prgs:
(No additional dependencies / Requires VFP9 )
  • oJson = nfJsonRead(cJsonString , isFileName)
  • cJsonString = nfJsonCreate(oVfp, lFormattedOutput, lNoNullArrayItems)
  • -nfJsonToCursor(cJson, cCursorName , lForceImportFromArray)
  • -nfCursorToJson4vfp()&& calls nfCursorToJson with options set to create Json for later convert back to cursor in Vfp using nfJsonToCursor()
  • nfCursorToJson(lReturnArray, lArrayofValues, lIncludestruct, lFormattedOutput* )*
  • nfCursorToObject(lCopyToArray, lIncludeStruct)

Run examples.prg from test folder and see sample code and output.
( Documentation is on the way ) - included is JsonSamples folder with many complex json files for you to test:
  • youtubesearch.json
  • cycloneForecast.json
  • dropbox.json
  • googleMapsDistance.json
  • iphone photo.json
  • mapquest.json
  • mySimpleArray.json
  • tweeter.json
  • weatherService.json
  • yahooweather.json

Any questions please use the discussions section.

Viewing all articles
Browse latest Browse all 3798

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>