fromJSON
Parses a LocalizedString from its RWPM JSON representation. If the localized string can't be parsed, a warning will be logged with warnings.
"anyOf": [ { "type": "string" }, { "description": "The language in a language map must be a valid BCP 47 tag.", "type": "object", "patternProperties": { "^((?