Comments (5)
That's weird it failed. Also, did you meant to close this?
from dprint-plugin-json.
Oh, looks like an extra character at the end of the line?
Would be nice if this errored similar to prettier and displayed this in the playground:
from dprint-plugin-json.
I find there is an \u200b
after e
, this json file is not valid so it's not strange that dprint can't handle it. Therefore I close it.
from dprint-plugin-json.
If you think it a meaningful issue, I'm happy you re-open it.
from dprint-plugin-json.
It is. It should say it can't understand this character. I think it's a bug in the json parser.
from dprint-plugin-json.
Related Issues (17)
- JSON formatting is super slow on a 700KB single line JSON file
- Add trailing comma configuration
- Panic on invalid JSON
- Allow having trailing commas for config files like tsconfig.json HOT 5
- Unable to parse correctly number with exponent and no sign HOT 1
- fails to format json with invalid unicode HOT 1
- format invalid code ?
- Too slow formatting this single line JSON file HOT 3
- Allow disabling the new line requirement HOT 1
- Allow formatting keys with no quotes
- Formatting JSONC can lose comments yet still indicate success
- Can't formatting over 4 files with `.sh` script HOT 6
- 🙏🏻[feat/req] add 'preferSingleLine' option HOT 2
- Rewrite formatter to format a stream of bytes
- Invalid UTF-8 chars prevent formatting HOT 2
- Have ignore comments apply to trailing commas
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dprint-plugin-json.