Re: JSON_ARRAY_APPEND adding escape slash
Posted by: Derek McKinnon
Date: August 21, 2022 10:53PM

The example I have already posted.

SELECT @j, @a

@j, the values aren't backslashed.

@a. The first half aren't backslashed.

It is only when @j is appended to @i that the backslashes are added.

JSON_ARRAY_APPEND(@i, '$', @j)

Why would a JSON function (system function) add backslashes?

Options: ReplyQuote

Written By
Re: JSON_ARRAY_APPEND adding escape slash
August 21, 2022 10:53PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.