Function: model2json
▸ model2json(model
): string
Translates the model into a JSON format.
Parameters
Name | Type | Description |
---|---|---|
model | Model | The model to be exported. |
Returns
string
A string containing the model in JSON format.
Remarks
The result can be stored in a file, for example. Model can be converted back from JSON format into an instance of Model using function json2model.