Page MenuHomeFeedback Tracker

[FeatureRequest] Variable modifier to only load Json value
Assigned, UrgentPublic

Description

I'm currently working a lot with json files and from time to time, I need to change variable names or only load them once to then alter them.

I tried if it's possible to only load a value from a Json file with the [NonSerialized()] Tag, but it will completely ignore the variable instead.

Having something like [LoadOnly()] as a Tag would be useful to change the value of the variable if it's found in the json file or left as the default like NonSerialized does.

Having this option would allow modders to alter their json configs easily to change a string to a list of strings by adding a new TStringArray and add the variable tagged with [LoadOnly()] and after the json file is saved, the variable will not be written to the json file again

Details

Severity
Feature
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
General

Event Timeline

LBmaster created this task.Jun 8 2022, 7:26 PM
Geez changed the task status from New to Assigned.Jun 9 2022, 12:17 PM