skip to Main Content

Json – How to extract specific value from each element of an array and turn them into an array of object?

I want to extract the name and rate from each element of the array below, and turn them into an array of object [ 'BTCUSDT Perpetualt8ht05:14:44t0.0100%t0.01%t0.3000% / -0.3000%t0.3000% / -0.3000%', 'ETHUSDT Perpetualt8ht05:14:44t0.0100%t0.01%t0.3750% / -0.3750%t0.3750% / -0.3750%', 'BCHUSDT Perpetualt8ht05:14:44t-0.0135%t0.01%t0.3750% / -0.3750%t0.3750%…

VIEW QUESTION
Back To Top
Search