-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
When the feature to be able to add a actual json object/array when doing a set.object or set.array was added the old behavior broke.
CALL WOBJ(OBJ,"SET.OBJECT","newobject","","",RERR) ; * This used to add a blank object, it now errors.
CALL WOBJ(OBJ,"SET.OBJECT","newobject","{}","",RERR); * this is what is needed now.
same with set.array
CALL WOBJ(OBJ,"SET.ARRAY","Array","","",RERR); * while this looks to work you cannot add a object to it
CALL WOBJ(OBJ,"SET.ARRAY,"Array","[]","",RERR); * this seems to work.
Propose that for either function if no value is sent to default to {} for object and [] for aray.