Skip to content

Minifying JSON removes spaces around colons inside string values #51

@prShadoko

Description

@prShadoko

How to reproduce :

  1. Create a JSON file with following content
{
  "key": "string with : spaces around a colon"
}
  1. Minify the document

Expected result:

{"key":"string with : spaces around a colon"}

Actual result:

{"key":"string with:spaces around a colon"}

MinifyAll:
Version: v2.4.9

VSCode:
Version: 1.49.2
Commit: e5e9e69aed6e1984f7499b7af85b3d05f9a6883a
Date: 2020-09-24T16:23:52.277Z
Electron: 9.2.1
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: 8.3.110.13-electron.0
OS: Darwin x64 18.7.0

Metadata

Metadata

Assignees

Labels

Type: BugSomething isn't working as expected.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions