mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
6 lines
152 B
TypeScript
6 lines
152 B
TypeScript
import * as JSON3 from "json3";
|
|
|
|
const obj = JSON3.parse('{ "a" : { "b" : [1, 2] } }');
|
|
const str = JSON3.stringify(obj, null, "\t");
|
|
console.log(str);
|