Skip to content

Add nlohmann json, remove picojson - #3228

Merged
carstene1ns merged 2 commits into
EasyRPG:masterfrom
Ghabry:nlohmann-json
May 29, 2024
Merged

Add nlohmann json, remove picojson#3228
carstene1ns merged 2 commits into
EasyRPG:masterfrom
Ghabry:nlohmann-json

Conversation

@Ghabry

@Ghabry Ghabry commented May 20, 2024

Copy link
Copy Markdown
Member

Is enabled for all platforms because this will be used by a JSON event command (#3215)

Used the opportunity to get rid of picojson :) (one less vendored dep, only dr_wav left xD)

Is enabled for all platforms because this will be used by a JSON event command.

(also dropped rang from the license screen, we forgot to delete it earlier)
@Ghabry Ghabry added Building Emscripten WebAssembly/JavaScript port for web browsers labels May 20, 2024
@Ghabry Ghabry added this to the 0.8.1 milestone May 20, 2024
Comment thread CMakeLists.txt Outdated
@Ghabry

Ghabry commented May 20, 2024

Copy link
Copy Markdown
Member Author

Quick size benchmark: Moving to nlohmann_json increased the binary size of the WASM file by 34 KB. (at least for the stripped release WASM file, for the debug file it is +1 MB 😰 )

@carstene1ns carstene1ns left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🏙️

@carstene1ns
carstene1ns merged commit 27f21fb into EasyRPG:master May 29, 2024
@Ghabry
Ghabry deleted the nlohmann-json branch September 2, 2024 18:51
sevenc-nanashi pushed a commit to sevenc-nanashi/easyrpg-player that referenced this pull request May 31, 2026
Add nlohmann json, remove picojson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Building Emscripten WebAssembly/JavaScript port for web browsers

Development

Successfully merging this pull request may close these issues.

2 participants