I am trying to build a json_list from objects created while looping in a cursor. All of the examples hard code the array values. Can you give me an example?
inside my cursor loop it looks like this:
j_inner_obj := json();
but this did not work.
Thank you in advance
Here is an anonymous block example:
js_list json_list := json_list();
for i in 1..10
js_obj := json();
js_obj.put('obj_' || i, 'value_' || i);
js_list.append(js_obj.to_json_value) - was the missing ingredient
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.