JSFiddle - React, Tailwind, and code Playground
JavaScript
let a = '{"size":{"x":261.758,"y":107.394,"z":116.167},"layer_count":132,"layer_height":0.88,"print_time":33252.39,"total_filament":250661.828,"filament_length":250639,"filament_volume":196851.41027577}';
console.log(JSON.parse(a));