Answers for "how to convert python list to json array"

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 "how to convert python list to json array"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language