Created
August 10, 2020 14:52
-
-
Save recursivecodes/a6f59f4cb3db35ceeda36fca82d41174 to your computer and use it in GitHub Desktop.
json_serialize.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SQL> select | |
2 json_serialize(tc.json_document) as json | |
3 from testcollection tc | |
4 where tc.json_document.name = 'todd'; | |
JSON | |
__________________________________________ | |
{"name":"todd","is_cool":true,"age":43} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment