CatgirlIntelligenceAgency/third-party/monkey-patch-gson
Viktor Lofgren 266ad2e4de Re-introduce monkey patched GSON to make converter run better.
fixup! Re-introduce monkey patched GSON to make converter run better.

fixup! Re-introduce monkey patched GSON to make converter run better.
2023-06-19 17:58:19 +02: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 Re-introduce monkey patched GSON to make converter run better. 2023-06-19 17:58:19 +02: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.