Reputation: 4174
How to serialize or de-serialize json in PowerBuilder 11.5 (classic)?
WordPress stores JSON-like collections in the database and I am not aware of native functionality that handles this in PowerBuilder. I also cannot remember if it's possible to use the .net Framework in PB 11.5 classic.
Upvotes: 1
Views: 1928
Reputation: 96
You can try this...
http://www.pblsoft.com/sailjson.htm
it is a native pb object which can be migrated to 11.5
Upvotes: 2
Reputation: 2407
I'd write a COM visible component in .Net (C#) which handles JSON and use it within your PB application. There are a variety of Open Source libraries you can use (fastJSON is one). There is a JSON service in the current version of the PFC on Codeplex but it did not properly parse JSON when I tried to use it a few years ago.
Appeon plans on adding native JSON parsing in future version of PowerBuilder.
Upvotes: 2