Return type:
Access:
Applies to:
Read( INPUT TABLE-HANDLE tt-handle )Read( INPUT TABLE-HANDLE tt-handle,INPUT omit-initial-values AS LOGICAL )
FALSE directs the AVM to include all temp-table field data in the JSON. The default value of the expression is FALSE. If you specify the Unknown value (?), the method uses the default value of FALSE.The ABL READ-JSON( ) method always populates created records with initial values from the temp-table or ProDataSet definition. Other applications might not do this.When a temp-table handle is passed to JsonArray:Read( ), the JsonArray is set to a series of objects representing each row in the temp table. The following is a temp-table definition that is passed to JsonArray:Read( ):
[{“CustNum”: 1, “Name”: “Lift Tours”, “NewCust”: false },{“CustNum”: 2, “Name”: “FlyByNight”, “NewCust”: true }]
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates. |