json.Serializer methods

Methods for the json.Serializer class.

Table 1. Object methods
Name Description
JSONToVariable(
  json json.JSONReader, 
  var AnyType )
Serializes entries contained in a JSONReader object into a Genero BDL variable.
VariableToJSON(
   var AnyType,
   json json.JSONWriter )
Serializes a Genero BDL variable into JSON using a JSONWriter object.
getOption(
   name STRING) RETURN INTEGER
Returns the value of a JSON serializer global option.
setOption(
   name STRING,
   value INTEGER )
Enables setting global options for the JSON serializer.
getLastErrorDescription() RETURN STRING
Retrieves the most recent error generated during serialization.