Answers for "take list of json and convert it to list of objects python"

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 "take list of json and convert it to list of objects python"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language