xlat / pbjson Goto Github PK
View Code? Open in Web Editor NEWJSON for PowerBuilder classic, a JSON implementation in pure PowerBuilder.
License: MIT License
JSON for PowerBuilder classic, a JSON implementation in pure PowerBuilder.
License: MIT License
see json.sru line 253 : \r should be translated into ~r, not 'r'.
my json array response is as follows
[{"route":"Transaction","service_status":"Active","balance":82,"validity":"2022-08-11T18:30:00.000Z"},{"route":"Promotional","service_status":"Active","balance":100,"validity":"2022-12-30T18:30:00.000Z"}]
01 How do I access 2nd row and balance attribute
02 Is there is any way I can determine do I have how many rows I mean it might have one or more rows
I tried out this but didn't works
ln_json.retrieve("/1/route", ref la_data)
I am using PB 12.5 Classical and I want to display json data into datawindow. PB REST is supported from 2019 onwards I believe. my json response is a standard array with fixed structure, my idea is to picked up only values and put it in a string and append , end of row.
01 Do we have any function to determine which will extract only values something like Object.toString().
02 If I parse it one row at a time how do I find how many keys in the row ?
03 XML generator
[
{ "col1":"r1c1","col2":"r1c2"},
{ "col1":"r2c1","col2":"r2c2"},
]
Thanks in advance
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.