How to change the fetched STRING type data into LIST for pagination

asked 2017-10-20 01:53:58 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

The value of "next" is needed to fetch next page data, which i got as STRING. But streamsets pagination supports LIST type. How to fix this ? The output is in the following format

record: {map}

       data: {map}

              created_time: {string} "xxxxxx"   
              message: {string} "xxxxx"    
              id:{string} "xxxxx"



        paging: {map} "xxxxxx"

              cursors: {map}
              next: {string} "xxxxxx"
edit retag flag offensive close merge delete