Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is JSON and is it better than xml etc
Message
De
01/02/2019 13:05:26
 
 
À
01/02/2019 12:49:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012 R2
Network:
Windows Server 2012 R2
Database:
Visual FoxPro
Application:
Desktop
Virtual environment:
VMWare
Divers
Thread ID:
01665642
Message ID:
01665868
Vues:
73
J'aime (1)
>>>Good advice.
>>>
>>>>Agreed. What you don't want is to have both XML and JSON for different things. Pick one solution and stick to it...
>>>>+++ Rick ---
>>
>>I disagree with Rick Strahl. There are times XML is advantageous, and times JSON is advantageous. If you're doing only data processing, JSON is better. If you're interacting with people who may need to view the data in its stored form, XML is better. XML is easier to understand, and it's worth the extra programming overhead to keep both parsers in your project based on people needs, and data needs, if you have more than trivial people needs.
>>
>>My $0.02.
>
>It would however be confusing if you end up having a mx-n-match between them on a single interface -- sort of like "Japlish" (mixing of Japanese and English) or "Spanglish" (mixing of Spanish and English) - which I've been guilty of doing on occasion.

No it wouldn't. Permanent data storage should be in a database form. Inter-process communication data should be in a serializable form, such as XML or JSON. There should be no confusion whatsoever.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform