Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Faststring.dll
Message
 
À
04/07/2020 03:42:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Titre:
Divers
Thread ID:
01674989
Message ID:
01675111
Vues:
182
> In my experience with nfJson , using alines() to split the string by control
>characters ( ,;[] " ) and then work in chunks was the key to speed.. I think
> any big string manipulation should be tuned for each case..

Yeah I did something similar in my original parser. Can't remember now but ran into issues when the data contains some of those. Quotes in particular because JSON can use either ' or " as property and value delimiters and the other can appear inside. Single quotes are not required to be escaped in double quoted strings and vice versa if I recall.

>Anyway, it's always good to share this little findings. !

Yeah this was great - your's and Christof's suggestions are great improvements ontop of the original approaches I came up with which already were a 10X improvement. these additional 2 are another 10x!

+++ Rick ---
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform