JSON parse error -- now what? expecting EOF not TRUE

Topics: Developer Forum
Jul 26, 2013 at 9:54 PM
Parse error on line 105:
... } ] }}True
--------------------^
Expecting 'EOF', '}', ',', ']'

my string.


{"master":{"rows":[{"aaacallnum":"","aaamemtype":"","amount":"345","area":"","billtoact":"COD","billtoaddr1":"435 W THORN ST","billtoaddr2":"","billtocity":"SAN DIEGO","billtocont":"","billtoname":"LAUREN STONE","billtophone":"","billtost":"CA","billtozip":"92103-","bodytype":"2 Door Hatch","callactnum_a":"CPD","callactnum_b":"CPD","callname":"CARLSBAD POLICE DEPARTMENT","callphone":"(760)931-2100","callremark1":"","calltype":"S","colorcar":"BLU","condition":"TOWABLE","cross_street":"","custnum":"COD","datein":"12/31/11","dateout":"01/02/12","datepaid":"01/02/12","days":"3","dispnum":"465971","driver":"JIMMY 19","equipment":"","foxtow_id":"","ftiresize":"","holdnote":"NO RELEASE NEEDED","invdate":"01/02/12","invoicenum":"578737","itemgroup":"C","keysinfo":"N","kitnum":"","licensenum":"6LFM179","licensest":"CA","liendin":"0000-00-00T00:00:00-08:00","liendout":"0000-00-00T00:00:00-08:00","lienfee":"0","lientype":"R","lientypems":"","makecar":"Honda","mapcord":"","membernum":"","miles":"0","milesto":"0","modelcar":"Civic","odometer":"148303","oldinvnum":"","paytype_a":"CRD","paytype_b":"CRD","perday":"45","perdaytotal":"135","ponumber":"","priority":"1","referencenum":"4789230001046624 01/14","refnumber":"11-07961","regaddr1":"3042 BROADWAY","regaddr2":"","regaddr3":"","regcity":"SAN DIEGO","regname":"","regnametow":"ARTHUR ASHLEY","regstate":"CA","regzip":"92102","releasedate":"/ /","releaselic":"E3266266","releasetype":"","release_bywho":"MARIE","release_time":"14:27","release_time2":"14:26","retowto":"","rtiresize":"","storagetype":"3","tagmonthyear":"05/12","timeardst":"23:51","timearrive":"23:18","timecall":":","timeclear":"23:58","timeinrt":"23:07","timeintow":"23:33","timerec":"23:06","towdate":"12/31/11","towedfrom":"2560 EL CAMINO REAL, CBD [@ VONS","towedto":"3199 TYLER STREET, CARLSBAD, CA 92008","towtagnum":"","trucknum":"21","type":"C","vin":"2HGEH2359RH516532","whocalled":"","wposition":"","yearcar":"94"}]}}True
Jul 26, 2013 at 11:01 PM
I notice json.fll is 2008 and there is a newer json.prg
I'm trying to read through the json.prg and see if I can figure out
parameters to fix it. get a better json string.
Coordinator
Jul 27, 2013 at 12:33 AM
The fll is just a helper library to speed performance in C for certain string routines where vfp is slower. All of this is Craig Boyd's JSON class. See:

http://www.sweetpotatosoftware.com/spsblog/CommentView,guid,5ac8d202-98b4-4ee8-998d-692e4b597bec.aspx

My minor modifications to it are here:

https://activevfp.codeplex.com/SourceControl/latest#avfp6.03_source/prg/json.prg

and this is what is being used in the current version of AVFP.

If you think it needs to be changed, go ahead and change it and you can give to me to test and incorporate into the next version.