Progress with XML or JSON ?

chrisds

New Member
good evening everyone. Now in Malaysia, we are introducing e-Invoice which need to link up to Poppel using XML or JSON. i'm wondering whether Progress can come out with XML or JSON file for integration (which CSV is no issue).

Thanks.
 

TomBascom

Curmudgeon
What version of Progress are you using?

If your Progress release is older than XML (or JSON) then, no, it won’t be supported. If your Progress release is reasonably modern then, yes, it is supported.
 

TomBascom

Curmudgeon
OpenEdge 10 certainly has lots of support for XML.

OE10 is 20 years old now and hasn't been a "current" release for a long, long time. I'm too lazy to look it up but I don't think that OE10 has much if any explicit JSON support. OTOH, JSON output is pretty trivial to create. Parsing JSON input is more of a challenge.
 
good evening everyone. Now in Malaysia, we are introducing e-Invoice which need to link up to Poppel using XML or JSON. i'm wondering whether Progress can come out with XML or JSON file for integration (which CSV is no issue).

Thanks.
10.2b supported xml. I an not sure 'json'. You'll can usr msn yo access services. May be youtube can wri tour own json ör xml parser. Sometimes it's practical way.
 

peterjudge

Member
10.2b supported xml. I an not sure 'json'. You'll can usr msn yo access services. May be youtube can wri tour own json ör xml parser. Sometimes it's practical way.

JsonObjects are 11.0 and later. I think (per History of Progress Versions | The OpenEdge Hive) that WRITE-JSON on temp-tables and ProDataSets was 10.2B. If you can use those depends on whether the required data is in a "dataset format".

As @Hikmet_Alemdaroglu says, writing JSON isn't that hard (the one thing to remember is that the ABL doesn't like naked { characters in strings - you'll need to escape them in code with ~). It's also relatively easy to dynamically loop through the fields on any temp-table, read their data types, read their values, and write those to a JSON object.
 
Top