Skip to content

Commit

Permalink
fix(BBj) : parser is not defined in BBjGridExWidget.getData()
Browse files Browse the repository at this point in the history
See #141 for more details

fixes #141
  • Loading branch information
hyyan committed May 20, 2019
1 parent 65c308f commit 22c0966
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions BBjGridExWidgetRow.bbj
Expand Up @@ -5,7 +5,6 @@ use com.google.gson.JsonParser
use com.google.gson.JsonObject
use com.google.gson.JsonArray


class public BBjGridExWidgetRow

field public BBjString Id!
Expand All @@ -29,12 +28,9 @@ class public BBjGridExWidgetRow
methodend

method public JsonObject getData()
declare JsonParser parser!
declare JsonObject obj!
declare JsonArray ar!
parser! = new JsonParser()
ar! = parser!.parse(str(#asDataRow().toJson())).getAsJsonArray()
obj! = ar!.get(0).getAsJsonObject()
parser! = new JsonParser()
methodret obj!
methodend

Expand Down

0 comments on commit 22c0966

Please sign in to comment.