Skip to main content
Version: SDK-5.9.6

FlattenRows

public LitJson.JsonData FlattenRows();

Description

When the rows key exists in the returnValue returned upon successful request,
this method converts the rows value to a JsonData object and removes and returns all data types.

Example

var bro = Backend.GameData.Get("tableName", new Where(), 10);
if(bro.IsSuccess() == false) {
return;
}

var json = bro.FlattenRows();

Return casess

When the rows key exists in returnValue
Unmarshalled JsonData object is returned.

When the rows key does not exist in returnValue
An empty JsonData object is returned.

When the returnValue does not exist
An empty JsonData object is returned.