Satisfactory ModdingSM
Satisfactory Modding10mo ago
49 replies
Zitronenwasser

What is the "correct" way to write to a .json file from a mod?

Hey, i'm currently working on a mod that dumps a bunch of Information from the game into a .json file, since the communityDocs do not include all the information i need, so i'll be creating an entirely different file.

The problem is: I'm not sure what to use for JSON (De-)Serialization, i thought about using nlohmann json But quickly realized that that is not a great idea, it would conflict with any other mod that also uses it...

Is there a well documented library or some satisfactory docs page that i can orient myself on? i've seen JsonStructs, but i'm not sure if that is what i should be using (no documentation and seems to be more of a tool specificially for ContentLib)

Thanks in advance :feyxel:
Was this page helpful?