

This unofficial TaleSpire dependency plugin provides methods for reading json and numeric strings in different region settings.
1.0.0: Initial release
Use R2ModMan or similar installer to install.
Since this is a dependency plugin, the user does not "use" this dependency plugin at all. Instead it is used by the code of other plugins.
The Deserialize method mimic the method of JsonConvert. It can be called using:
SmartConvert.Json.DeserializeObject<T>(string json)
Such as:
InfoData infoData = SmartConvert.Json.DeserializeObject<InfoData>(json);
To serialize json into the region settings of a different region, use:
SmartConvert.Json.SerializeObject(T class, RegionMapping mapping)
Such as:
string json = SmartConvert.Json.SerializeObject(infoData, new RegionMapping(".",",",",",";");
This would convert a json using period for numbers and a comma for lists to a json which uses comma for number and semicolon for lists.
When parsing numbers from string, use the provided SmartConvert functions, such as:
float value = SmartContent.parseFloat(string floatString);
There are version of the numeric conversion methods for float, decimal, single and double.