Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Json from Web API to VFP application
Message
From
27/12/2016 16:30:52
 
 
To
27/12/2016 16:19:06
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01646133
Message ID:
01646134
Views:
62
This result is proper.


>Hi,
>
>Is it a good practice that the json received from Web API by a VFP application (and/or .NET application for that matter) has pairs of "field description" and the value? For example:
>
>
>[{
>            "Id" : 2,
>            "Code" : "F100",
>            "Description" : "AIR FILTER, 20x20x2",
>            "Price" : 4.00,
>            "Quantity" : 2.00,
>            "Unit" : "FOOT"
>},
>
>
>Or it is better if json has no "description" element and only the data?
>
>TIA
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform