Search found 77 matches

by bhall2001
Thu Oct 15, 2015 11:41 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: "new" JSON library fastJson
Replies: 62
Views: 38534

Re: "new" JSON library fastJson

I just submitted the temporary fix for the RTF code on Github. Try out the 0.3.0 branch of fastJson and let me know if i the Dictionary works now. NOTE: Unicode will not work in this current branch. Bob PS. I can't seem to find this javascript file containing the dictionary JSON in the LC app folder...
by bhall2001
Thu Oct 15, 2015 11:00 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: "new" JSON library fastJson
Replies: 62
Views: 38534

Re: "new" JSON library fastJson

Thanks mwieder! I had just figured that too and came here to post my findings to see your post. Great minds.... The route of the issue I believe is how libJson (and thus fastJson) handle Unicode. For now, I'm going to comment out the code for Unicode until I learn more about Unicode (I'm clueless on...
by bhall2001
Thu Oct 15, 2015 10:33 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: "new" JSON library fastJson
Replies: 62
Views: 38534

Re: "new" JSON library fastJson

phaworth, The JSON you have there is valid. I'm going to use this snippet to figure out what's going on. I'm suspecting the RTF is the issue somehow. As was mentioned. I've also been concerned with the libJson Unicode handling and will looking into that section as well. Why did I use libJson? I am i...
by bhall2001
Thu Oct 15, 2015 10:22 am
Forum: Off-Topic
Topic: Open Source Challenge -- Modernize LC IDE UI.
Replies: 13
Views: 9160

Re: Open Source Challenge -- Modernize LC IDE UI.

I did provide the screen shot of the prefs dialog. This is a mock up with larger fonts that IMHO make this dialog look better. If I knew where to go to even make this happen I would do the work but I just don't know where to look in the source nor do I think I should be mocking around down there any...
by bhall2001
Tue Oct 13, 2015 12:00 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: "new" JSON library fastJson
Replies: 62
Views: 38534

Re: "new" JSON library fastJson

Sorry, I was away on vacation through the long weekend and did not have reliable access to Internet. Bob- I'm don't think your isNumericalArray() function does what you want. fyi- this is copied and pasted form the existing easyJson library. So this would be true with the existing library. I'm still...
by bhall2001
Thu Oct 08, 2015 12:43 am
Forum: Off-Topic
Topic: Open Source Challenge -- Modernize LC IDE UI.
Replies: 13
Views: 9160

Re: Open Source Challenge -- Modernize LC IDE UI.

LOL! I started with Hypercard in 1987, Supercard in 1988 and Metacard in 1990 (would of been sooner but I was wrapped up in a Supercard project). I've seen them all! I will stand by my statements. There are stacks that are coming with LC8 that should not be there or are in desperate need of a UI upd...
by bhall2001
Wed Oct 07, 2015 4:57 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: "new" JSON library fastJson
Replies: 62
Views: 38534

Re: "new" JSON library fastJson

Thanks for the heads up on the constants. I did see the "is a number" does do what I need, for the most part. I'm a little concerned that this behavior might change as it's different than all the other isNumber methods. Also, there are 2 constants missing from the list (and I've reported as a bug th...
by bhall2001
Tue Oct 06, 2015 9:12 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: "new" JSON library fastJson
Replies: 62
Views: 38534

Re: "new" JSON library fastJson

For anyone following along here, I just uncovered a significant issue with both libJson and easyJson and how they handle numbers. Both routines rely on the "is number" function of Livecode to determine if a data element is a number or a string. Well, turns out Livecode, being the verbose language th...
by bhall2001
Tue Oct 06, 2015 5:44 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: "new" JSON library fastJson
Replies: 62
Views: 38534

Re: "new" JSON library fastJson

When I did my test stack I did not try to call jsonImport from within another function. I just called it directly replacing the arrayFromJason call all together. Maybe (but don't know why, calling with a referenced parameter is causing a problem. Also, run the json file through jsonlint and confirm ...
by bhall2001
Mon Oct 05, 2015 7:02 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: "new" JSON library fastJson
Replies: 62
Views: 38534

Re: "new" JSON library fastJson

I'm modifying the library a bit as well as doing a round of Livecode 8 testing. Here's what I have for numbers. I am taking a complex JSON datafile from an application that I've written which is roughly 94k of JSON. There are almost 24,000 tokens in the file to parse. My test stack first converts th...
by bhall2001
Mon Oct 05, 2015 6:40 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: "new" JSON library fastJson
Replies: 62
Views: 38534

Re: "new" JSON library fastJson

Greg,

Any chance your can test with your code and the new LC8 importJson/ExportJson. I have already with my script. I'd be curious what you get for numbers.

Bob
by bhall2001
Mon Oct 05, 2015 12:53 pm
Forum: Talking LiveCode
Topic: Is 081105004 a number for JSON?
Replies: 1
Views: 1955

Is 081105004 a number for JSON?

I happened to take a json file created by easyJson and run it through a JSON lint program. The program reported an error with a number not being a number. The errant data is a UUID created with a simple formula YYMMDDXXX ( JSON object --- "CRN":081105004 ). The UUID can not be changed as it's a data...
by bhall2001
Sun Oct 04, 2015 9:22 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: "new" JSON library fastJson
Replies: 62
Views: 38534

Re: "new" JSON library fastJson

Thanks pink for running your tests! I was seeing similar results and it's nice to see that it's looking like I moved in the right direction. Did you run the tests with JSON validation on or off? If you had it on, could you run the same tests again with validation checking off? I'm curious what you g...
by bhall2001
Sat Oct 03, 2015 3:19 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: "new" JSON library fastJson
Replies: 62
Views: 38534

"new" JSON library fastJson

The other day I was having some fun comparing easyJson and libJson. I could see that a merged library would result in better overall JSON performance. I also believe there may be some tweaks that can be made to get a little bit more performance as well. Welcome fastJson. The Project is on Github (ur...
by bhall2001
Thu Oct 01, 2015 12:58 pm
Forum: Off-Topic
Topic: Open Source Challenge -- Modernize LC IDE UI.
Replies: 13
Views: 9160

Re: Open Source Challenge -- Modernize LC IDE UI.

Bigger font does not necessarily mean more screen real estate. In fact, bigger font means less brain power to get the point across... So I had a little fun with Livecode and created a POC of the existing Prefs dialog in 13pt Helvetica. I've attached a screen print here for everyone to look at (I hop...

Go to advanced search