Deserializes the locale from a JSON string.
Namespace: MindFusion.Common
File: Locale.js
SyntaxJavaScript
Copy Code
|
|---|
function fromJson (dateSettingsJson) |
String. A string containing data for the date settings.
ExampleThe following code creates a new Locale instance and loads its settings from a json file.
JavaScript
Copy Code
|
|---|
| calendar.locale = Locale.fromJson("locale.json"); |
See Also