patanNew Contributor III4 years agoSolvedI wanted to create multiple arrays from a single array based on specific Field I have the below input: “AT_Pricehash”: [ { "@TermsListID": "Test1", "ORGID":"1000", "@MinimumQuantity": 1 }, { "@TermsListID": "Test2", "ORGID":"1001", "@Mini...Show Moreviktor_n4 years agoHi @patan, If you have already array you can achieve this with group_by function in jsonPath. Like this: jsonPath($, "$array[*].group_by(value['ORGID'])") And here is the output: Regards, Viktor
viktor_n4 years agoHi @patan, If you have already array you can achieve this with group_by function in jsonPath. Like this: jsonPath($, "$array[*].group_by(value['ORGID'])") And here is the output: Regards, Viktor
viktor_n4 years agoHi @patan, If you have already array you can achieve this with group_by function in jsonPath. Like this: jsonPath($, "$array[*].group_by(value['ORGID'])") And here is the output: Regards, Viktor
viktor_nContributor II4 years agoHi @patan, If you have already array you can achieve this with group_by function in jsonPath. Like this: jsonPath($, "$array[*].group_by(value['ORGID'])") And here is the output: Regards, Viktor
Recent DiscussionsWay to lock down in Prod org to "Monitor" only access?trace API and proxy callsPagination Logic Fails After Migrating from REST GET to HTTP Client SnapSolvedPipeline Execute Pool sizeSolvedConcat values of a field based on value of another fieldSolved