0

Java Jayway jsonpath uses the operator .. to initiate a so-called deep scan (see here). Is there something similar in oracle SQL/JSON? I looked at the oracle documentation here but didn't find anything similar.

2
  • 1
    edit your question and add some sample data and the expected output based on that data. Formatted text please, no screen shots. Do not post code or additional information in comments Commented Sep 5, 2017 at 18:24
  • "A path is indefinite if it contains: .. - a deep scan operator". That tells me nothing about what the operator actually does so how are we meant to determine if Oracle has something similar? Commented Sep 5, 2017 at 18:43

1 Answer 1

1

Currently SQL/JSON path expressions do not allow what you call 'deep scans' (or // in XPath). Can you tell us more about the use case? Do you really need to recursively nested arbitrarily deep into the json or can you enumerate the possible paths? Thanks

Sign up to request clarification or add additional context in comments.

1 Comment

Thank you for the answer. I need to look for "error" keys in a kind of logging nested structure. The "error" keys can be at many places and at many depths in the tree. So it is quite hard to enumerate all the possible paths in advance.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.