Preparing C Data Variables for Encoding

The procedure to populate an instance of a generated data variable for encoding to JSON is the same as for XML. Please see the section on populating data for encoding to XML in the previous section for information on how to populate the data variables.