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

FileBase: JsonSerialize exclude only HTML symbols #55

Merged
merged 1 commit into from
Nov 3, 2023

Conversation

antoshka1312
Copy link
Contributor

@antoshka1312 antoshka1312 commented Oct 31, 2023

Hi, this required to display cyrillic symbols without escaping inside JSON files.
Before:
{ "id": 1, "skillLevel": 1, "name": "\u0422\u0440\u0435\u043d\u0438\u0440\u043e\u0432\u043a\u0430 \u043c\u044b\u0448\u0446, \u0443\u0440. 1", "text": "\u041f\u0430\u0441\u0441\u0438\u0432\u043d\u044b\u0439 \u043d\u0430\u0432\u044b\u043a, \u0443\u0441\u0438\u043b\u0438\u0432\u0430\u044e\u0449\u0438\u0439 \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u0430\u0442\u0430\u043a\u0443 \u043d\u0430 10." }

After:
{ "id": 1, "skillLevel": 1, "name": "Тренировка мышц, ур. 1", "text": "Пассивный навык, усиливающий физическую атаку на 10." }

@codecov
Copy link

codecov bot commented Oct 31, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Files Coverage Δ
src/Parsec/Shaiya/Core/FileBase.cs 51.31% <100.00%> (ø)

... and 16 files with indirect coverage changes

📢 Thoughts on this report? Let us know!.

@matigramirez matigramirez merged commit 6ac1a3d into matigramirez:main Nov 3, 2023
3 of 4 checks 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