Hallo alex61,
ab 7.2 geht es mit SQL - hier ein Beispiel mit Fremdwährungen
Wenn Du es in ein RPG-Programm einbetten möchtest, dann findest Du hier ein BeispielCode:Select x.* from JSON_TABLE( SYSTOOLS.HTTPGETCLOB( 'http://openexchangerates.org/api/latest.json?app_id=deineId',''), '$' Columns( Basis char(3) path 'lax $.base', EUR dec(15, 6) path 'lax $.rates.EUR', GBP dec(15, 6) path 'lax $.rates.GBP' ) ) x;
https://gist.github.com/RainerRoss/0...2427664c4c4252
Viele Grüße
Rainer
Bookmarks