Answers for "js python convert python array of list to array of json"

0

how to convert a list of json to list of array

dataArray = [{"Value":10,"ValuePourcent":2},{"Value":20,"ValuePourcent":3},{"Value":51,"ValuePourcent":1}]

newFormat = dataArray.map(function(e){
                  return [e["Value"], e["ValuePourcent"]]
                  });
Posted by: Guest on March-17-2021

Code answers related to "js python convert python array of list to array of json"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language