Next, I used a json file that had no errors when verified with the link you supplied, Bradley.  The affected code segment is:

docNode = yajl_stmf_load_tree(%trim(wIFSFileName): errMsg );
if errMsg = ' ';
  node = YAJL_object_find(docNode: 'success');
  result.success = YAJL_is_true(node);

docNode has a value.
errMsg is blank.
node is *null.
result.success = "0"

I am suspicious that node being *null is not a good thing?

The first few lines of the json file are:
[
{"name":"George Washington", "life":"1732-1799", "term":"1789-04-30 to 1797-03-04", "party":"No Party"},
{"name":"John Adams", "life":"1735-1826", "term":"1797-03-04 to 1801-03-04", "party":"Federalist"},
{"name":"Thomas Jefferson", "life":"1743-1826", "term":"1801-03-04 to 1809-03-04", "party":"Democratic-Republican"},
...
]

The application as a web page, is US Presidents <ventures.martinvt.com>


On 9/1/2017 8:09 AM, Bradley Stone wrote:
Booth,

...

Also, when asking for help, you may want to include code and the json
itself.


Bradley V. Stone
www.bvstools.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.