Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parsing JSON
Message
From
22/09/2016 15:28:25
Thomas Ganss (Online)
Main Trend
Frankfurt, Germany
 
General information
Forum:
Visual FoxPro
Category:
Third party products
Title:
Miscellaneous
Thread ID:
01641217
Message ID:
01641223
Views:
78
Probably Sergeys hint to Dotnetbridge is better if you cannot find anything in vfp source, but other options might be running it as script via eval in that language to build objects either in python (good COM integration) or JS (via WebBrowser/IE). Traversing the tree would always mean marshalling, but that would also happen with Dotnetbridge

HTH

thomas

>Hi there,
>
>I am trying to parse a json-file trying the different json-parsers out there like the nfjson-parser on vfpx or craig boyds parser founf at his blog. But every parser fails when it comes to a field like this;
>
>
>"sigl":["KNO VA","A-MM"]
>
>
>which is an array without field-names. The first of my items (records) containing the field is interpreted correctly but all other
>ones are false interpreted (don't contain the information which is in the json-string). As the parser I use in my net-apps does this correctly I wonder why this is not working with the vfp-parsers and if somebody knows a working parser for vfp.
>
>Best regards and thanks in advance
>
>Thomas
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform