New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bad String for Newline in String #29
Comments
That's not valid JSON and I'm not sure how you are parsing this a
Are you using a custom parser? You only need to replace |
Yhea I suppose it is not valid json. I'm using the Probably it is an older version as I have it this way now since close to a year now. So the issue here is either that an update in the meantime has made the parser less human friendly^^. But yhea I guess I could do a script to get rid of the |
The problem is that you were relying on a bug that has been fixed in the meantime. Hjson supports multiline strings - I'm not sure though if that is what you want. The easiest way is to use the old version to pipe it through - so you'll get it reformatted and it should then be working with the new version. |
I hope this helped solve your problem. |
yes Problem solved - thank you! :-) |
Hello,
Having a giant hjson file containing language strings like:
"en": "hello I am a potentially very long String"
I use it as a Module inside a Javascript App - there it works perfectly in in the current way.
Using the cli it give's me the error:
Error: Bad string containing newline at line 153,106
SO basicly there are tons of these cases where I have like:
It would be awesome if this would't be a such a big deal :-)
The text was updated successfully, but these errors were encountered: