Skip to content

Stringify objects consistently (using 2 space indent) #5

@dzwillia

Description

@dzwillia

See the attached screenshot. All calls to JSON.stringify() should look like this: JSON.stringify(json, null, 2) for consistency. Not doing this can result in incredibly long JSON strings in the reverse translation output.

NOTE This applies to most tasks, but shouldn't be done for tasks where indentation is important (e.g. a python execute task)

stringify-indent

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions