Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 11 to 14 of 14 total |
TReader parsing problem with nested arrays |
Sat, Mar 24 2018 8:34 AM | Permanent Link |
Walter Matte Tactical Business Corporation | Also:
Add: mleParse.Lines.BeginUpdate; mleParse.Lines.EndUpdate; To test timing.... procedure TfrmMainJSON.btnParseClick(Sender: TObject); var JP : TJsonParser; i : integer; begin JP := TJsonParser.Create; JP.IncludeEndElementTF := (cbEE.SelectionState = ssSelected); JP.ParseJSON(mleSource.lines.Text); mleParse.Lines.BeginUpdate; mleParse.Lines.Clear; for i := 0 to JP.json.Count - 1 do begin mleParse.lines.Add(JP.json[i]); end; mleParse.Lines.EndUpdate; JP.Free; end; |
Sat, Mar 24 2018 9:48 AM | Permanent Link |
Walter Matte Tactical Business Corporation | Parsed 500K in 79 ms ... how big was your json to get 10 seconds.
Walter |
Sat, Mar 24 2018 12:34 PM | Permanent Link |
Uli Becker | > Parsed 500K in 79 ms ... how big was your json to get 10 seconds.
It was the same json as in your sample, just unformatted (in one line). Have to check that out further, just had a quick look this morning. Uli |
Sat, Mar 24 2018 12:48 PM | Permanent Link |
Uli Becker | Walter,
> Add: > mleParse.Lines.BeginUpdate; > mleParse.Lines.EndUpdate; > > To test timing.... Yes, that does the trick. Result is displayed immediately. Thanks. Uli |
« Previous Page | Page 2 of 2 | |
Jump to Page: 1 2 |
This web page was last updated on Thursday, October 10, 2024 at 02:11 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |