Skip to content

Feature request: last json parse error. #9

@Snow-Pyon

Description

@Snow-Pyon

Why do I want this feature?

When passing a non-valid json string to the map json effect, this throws an exception telling you where it failed to parse which is pretty useful. The problem here is the fact that Skript users are not used to this format, they instantly think it is either a bug or something went horribly wrong when they see an exception when that isn't the case.

What am I suggesting?

As the title says, I am suggesting an expression that tells you the last json parsing error, this would be used in combination of the map json effect. This would contain the exception message making it more user-friendly.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions