Canop / Canop/JSON.prune

support for indentation?

Open
#10 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
167
Forks
26
PR merge metrics
No merged PRs in 30d

Description

Standerted JSON.stringify allows an argument for \t and \n for indentation purposes as follows:
```

JSON.stringify({ uno: 1, dos: 2 }, null, '\t');
// returns the string:
// '{
// "uno": 1,
// "dos": 2
// }'
```

JSON.prune supports it as well?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.