Author Topic: Scriptbasic: JSON module  (Read 662 times)

Online AIR

  • RETIRED
  • BASIC Developer
  • Posts: 409
Re: Scriptbasic: JSON module
« Reply #15 on: November 26, 2018, 08:48:08 PM »
Without seeing any code, not much I can tell you.

It works on my 64bit Linux box:

riveraa@nas:~/src/sb_ubuntu-64$ ./AppRun parse2.bas
----------------------------------------
Joe Blow
56
Tarrytown
NY
10891
----------------------------------------
John Smith
86
Cupertino
CA
N/A
----------------------------------------

Offline John

  • Forum Support / SB Dev
  • Posts: 2191
    • ScriptBasic Open Source Project
Re: Scriptbasic: JSON module
« Reply #16 on: November 26, 2018, 08:55:04 PM »
I didn't touch any of your source or example code. I just compiled it under my Linux source tree.

I remember a bug in Peter's ARGUMENT macro with certain type combinations. I'm not sure if "pz" was one of them. The bug would return the same error I got. I had to use the old school method to get around it.

Maybe you fixed this in another life on your box.
« Last Edit: November 26, 2018, 09:03:41 PM by John »

Online AIR

  • RETIRED
  • BASIC Developer
  • Posts: 409
Re: Scriptbasic: JSON module
« Reply #17 on: November 26, 2018, 09:06:33 PM »
No, I didn't alter any of the Macro stuff.

It works here on both macOS and Ubuntu 64.

Offline John

  • Forum Support / SB Dev
  • Posts: 2191
    • ScriptBasic Open Source Project
Re: Scriptbasic: JSON module
« Reply #18 on: November 26, 2018, 09:09:54 PM »
That's what I'm running. Ubuntu 18.10.

Would you zip up your .so and SB code and post it so I can give it a try?

Online AIR

  • RETIRED
  • BASIC Developer
  • Posts: 409
Re: Scriptbasic: JSON module
« Reply #19 on: November 26, 2018, 09:32:31 PM »
Attached.