Answers for "how to convert list string json to list in java 8"

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 list string json to list in java 8"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language