Skip to content

Fix nested json parsing errors#40

Merged
ai merged 1 commit intopostcss:mainfrom
gtubrainstormingorg:main
Oct 4, 2024
Merged

Fix nested json parsing errors#40
ai merged 1 commit intopostcss:mainfrom
gtubrainstormingorg:main

Conversation

@dengelke
Copy link
Copy Markdown
Contributor

@dengelke dengelke commented Oct 4, 2024

Had some errors from nested json objects

@ai
Copy link
Copy Markdown
Member

ai commented Oct 4, 2024

Why don't you use postcss-js parser for JSON?

This parser is only for CSS files (possibly broken).

@dengelke
Copy link
Copy Markdown
Contributor Author

dengelke commented Oct 4, 2024

Mostly because it needs to handle json in css as well as any broken css

@ai
Copy link
Copy Markdown
Member

ai commented Oct 4, 2024

Got it, you want to use JSON inside CSS

@ai ai merged commit 721c42d into postcss:main Oct 4, 2024
@ai
Copy link
Copy Markdown
Member

ai commented Oct 4, 2024

Thanks. Released in 7.0.1.

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