mirror of
https://github.com/ruuda/rcl.git
synced 2025-12-23 04:47:19 +00:00
Previously the key in the error had to be a string so we could not report it, but now we can.
13 lines
142 B
Text
13 lines
142 B
Text
{
|
|
1: "first",
|
|
2: "second",
|
|
}
|
|
|
|
# output:
|
|
stdin:1:1
|
|
╷
|
|
1 │ {
|
|
╵ ^
|
|
in value
|
|
at key 1
|
|
Error: To export as json, keys must be strings.
|