EdgeQL Tutorial



As was previously mentioned, only bytes cannot be cast into json. However, arrays and tuples can be cast into json just fine, even if they contain other nested structures. Regular tuples and arrays both become JSON arrays, but named tuples become JSON Objects. Try the following cast of a complex nested structure:

Output Objects
Press the 'Run' button to evaluate the input

We use ChatGPT with additional context from our documentation to answer your questions. Not all answers will be accurate. Please join our Discord if you need more help.