Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
jlahners
Contributor II
Contributor II

Help with parsing JSON

Hi all -

Need some help with a JSON parsing challenge.  I have data from our database that looks like the following:

[SOMEDATA]:

LOAD * INLINE

[

ROW_ID;FullBarcode

AAA;{ "type":"type123","barcode":"AAA111BBB"}

BBB;{ "type":"type900","barcode":"BBB222CCC"}

](delimiter is ';');

I've used:

LOAD type, barcode FROM_FIELD (SOMEDATA,FullBarcode) (json);

and it pulls the individual fields, however I lose the association with the ROW_ID.

I need to create a new data row similar to:

ROW_IDbarcode
AAAAAA111BBB
BBBBBB222CCC

Any help would be appreciated!

0 Replies