#[Forge] create JSON file with using ForgeConfigSpec

11 messages · Page 1 of 1 (latest)

lone dune
#

im trying store some data that generated from WSS(WebSocketSecure) into JSON file

Forge MDK have common TOML config with using ForgeConfigSpec. in otherside, i wanna create JSON file with using ForgeConfigSpec. i take a look into External Libraries, Forge had use com.electronwill.night-config:toml:3.6.4 & com.electronwill.night-config:core:3.6.4 and unfortunately... i think ForgeConfigSpec only support TOML. but i've been implement com.electronwill.night-config:json:3.6.7 and now i dont have idea how to write ForgeConfigSpec as JSON file, does anyone know about that? please help me figure out how to write it

GitHub

Powerful java configuration library for toml, yaml, hocon, json and in-memory configurations - TheElectronWill/night-config

plucky isleBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.

wind dew
#

Don't think anyone here knows much about Forge :/, Acikek and I guess myself are the only people with modding knowledge here afaik, but we use Fabric

#

Although I think Forge has a Discord?

lone dune
lone dune
#

😂

rigid sedgeBOT
#
Resolved

Thread closed as resolved.

lone dune
#

anyway... i solve this problem with using Gson

rigid sedgeBOT
#
Thread Reopened

Thread was manually reopened by @lone dune.