Kettle解析LIST JSON数据

JSON格式如下:

{"list":[{"ref_date":"2016-06-12","user_source":0,"new_user":2,"cancel_user":14},{"ref_date":"2016-06-12","user_source":1,"new_user":3,"cancel_user":0},{"ref_date":"2016-06-12","user_source":17,"new_user":3,"cancel_user":0},{"ref_date":"2016-06-12","user_source":30,"new_user":7,"cancel_user":0}]}

kettle的JSON INPUT组件配置如下:

$..list[*].ref_date
$..list[*].user_source
$..list[*].new_user
$..list[*].cancel_user

你可能感兴趣的:(JavaScript,Oracle与数据处理)