KatsuteDev/Mal4J

Improve JsonSyntaxException

Closed this issue · 0 comments

Prerequisites

If all checks are not passed then the feature request will be closed.

  • I have checked that no other similar feature request already exists.
  • I have checked that this feature does not already exist.
  • This feature request makes sense for the project.

Feature

Explain your feature. Add any examples here.

Add additional reference information to JsonSyntaxException:

  • Json being parsed
  • Index/line

Reason

Explain why you thing this feature should be added.

Makes it easier to determine exactly why the Json parser failed.