Skip to content
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

Generated json from json-reporter is malformed. #256

Closed
Locitao opened this issue Jul 25, 2018 · 1 comment
Closed

Generated json from json-reporter is malformed. #256

Locitao opened this issue Jul 25, 2018 · 1 comment

Comments

@Locitao
Copy link
Contributor

Locitao commented Jul 25, 2018

Version 0.25.0.

Currently the json generated by the reporter looks like the following:

{
	"file": "src\main\java\com\saa\sample_app\base\SomeClass.kt",
	"errors": [
		{
			"line": 23,
			"column": 63,
			"message": "Unused import",
			"rule": "no-unused-imports"
		}
	]
}

As you can see, the slashes in the file name are not properly escaped. Presumably this is an error in JsonReporter

I don't have much experience with Kotlin yet, but I'll see about getting a merge request going soon.

@shyiko
Copy link
Collaborator

shyiko commented Jul 25, 2018

0.25.1 released 🎈

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants