-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description
A clear and concise description of the bug.
How to Reproduce
- Go to cel-playground
- Enter a valid JSON with a top-level array
[ { "noun": "lion", "population": 123, "predator": true }, { "noun": "deer", "population": 456, "predator": false }, { "noun": "pigeon", "population": 789, "predator": false } ] - Press Run
- View Output
line 1: cannot unmarshal !!seq into map[string]interface {}
Expected Behavior
Top-level Array should be accepted as it's valid JSON. See: https://stackoverflow.com/questions/3833299/can-an-array-be-top-level-json-text
Screenshots
If applicable, add screenshots to help explain your problem.
System Information
- OS: [e.g. MacOS]
- OS Version: [e.g. 12.0]
- Language Version: [e.g. Go 1.17.5, Node 16.13.1]
- Package Manager Version: [e.g. NPM 6.14.1]
- Browser (if applicable): [e.g. Google Chrome]
- Browser Version (if applicable): [e.g. 81.0.4044.138]
Additional Context
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working