jsonwrite
jsonwrite |
Purpose
Generate a JSON representation of a Mosel entity.
Synopsis
procedure jsonwrite(fname:string, mosobj:*)
Arguments
fname
|
Name of a file to store the generated text
|
mosobj
|
A Mosel object
|
Further information
This procedure generates a JSON representation of a Mosel entity. If the file name is an empty string, the generated string is sent to the current output stream (by default this is the console).
Module