Skip to content

Document JSON plugin api changes in api_changes_list_2025.md#1725

Merged
karollewandowski merged 2 commits intoJetBrains:mainfrom
KrylovBoris:patch-1
Jan 2, 2026
Merged

Document JSON plugin api changes in api_changes_list_2025.md#1725
karollewandowski merged 2 commits intoJetBrains:mainfrom
KrylovBoris:patch-1

Conversation

@KrylovBoris
Copy link
Copy Markdown
Contributor

Because of migration to syntax-api, com.intellij.json.JsonParserDefinition#createParser method has become obsolete and was refactored to throw an exception. This change is incompatible with certain plugins that use IFileElementType(JsonLanguage.Instance) for non-JSON files, without creating a custom parser definition. This causes the system to pick up com.intellij.json.JsonParserDefinition and call createParser method resulting in an error.

This commit is aimed to document this change in behavior.

@karollewandowski
Copy link
Copy Markdown
Collaborator

@KrylovBoris, thanks for the PR.
I provided some minor fixes for style and formatting consistency.

@karollewandowski karollewandowski merged commit 1010dba into JetBrains:main Jan 2, 2026
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants