Fix bigint serialization error (#916)

## Description:

- JSON serialization, bigint to string handling
- JSON deserialization, string to bigint handling

## Please complete the following:

- [x] I have added screenshots for all UI updates
- [x] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced
- [x] I understand that submitting code with bugs that could have been
caught through manual testing blocks releases and new features for all
contributors

---------

Co-authored-by: Scott Anderson <662325+scottanderson@users.noreply.github.com>
This commit is contained in:
Scott Anderson
2025-05-28 10:33:20 -07:00
committed by GitHub
co-authored by Scott Anderson
parent 7926267791
commit 40932b9f5f
7 changed files with 28 additions and 16 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ import {
} from "../src/core/game/Game";
import { Stats } from "../src/core/game/Stats";
import { StatsImpl } from "../src/core/game/StatsImpl";
import { replacer } from "../src/server/Archive";
import { replacer } from "../src/core/Util";
import { setup } from "./util/Setup";
let stats: Stats;