Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Json from Web API to VFP application
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01646133
Message ID:
01646141
Vues:
46
This is the proper JSON format and I don't think there is any other format.

>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
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform