Skip to Main Content

ORDS, SODA & JSON in the Database

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

using apex_json.write with column of json data

EmuJul 31 2020 — edited Aug 4 2020

I've been using using apex_json.write to write json for some time which has been working out great.

However today the cursor to write as json had a column containing json.

the result for the json column wasn't what I was after.

The result was like :

"INGREDIENTS":"[{\"Bread Improver\":\"1g\"},{\"Flour\":\"480g\"}]"

When was hoping for something more like:

"INGREDIENTS":"[{"Bread Improver":"1g"},{"Flour":"480g"}]"

Is there anyway around this?  Its a solution still under construction I could save something else in the column other then json but am not sure if that woulf help...I'm hoping to avoid trying a nested table.

Comments

Processing

Post Details

Added on Jul 31 2020
9 comments
806 views