JSFiddle - React, Tailwind, and code Playground

JavaScript

var string1 = '{"list":[{"one":"11","two":"21","three":31},{"one":"12","two":"22","three":32},{"one":"13","two":"23","three":33}]}';

var string2 = '[{"one":"11","two":"21","three":31},{"one":"12","two":"22","three":32},{"one":"13","two":"23","three":33}]';


console.log($.parseJSON(string1).list);

console.log($.parseJSON(string2));