CatgirlIntelligenceAgency/third-party/monkey-patch-gson
Viktor Lofgren aa0d256d6a Upgrade code to Java 20.
* Change language version
* Upgrade Lombok to a JDK20 compatible version
2023-08-23 13:37:49 +00:00
..
src/main/java/com/google/gson/stream Re-introduce monkey patched GSON to make converter run better. 2023-06-19 17:58:19 +02:00
build.gradle Upgrade code to Java 20. 2023-08-23 13:37:49 +00:00
readme.md Re-introduce monkey patched GSON to make converter run better. 2023-06-19 17:58:19 +02:00

Monkey Patched GSON

Stanford OpenNLP - Apache-2.0

Rationale

GSON makes some assumptions that make it not work very well for deserializing extremely large JSON objects. This patch makes the code technically leak memory, but the way it's used makes this not much of a problem.

It should only be applied to the converter or possibly loader processes, not the services.