Skip to content

Error messages (31) #329

@HolQue

Description

@HolQue

Previously this code

{
   "indexP" : 0,
   ${indexP}[${indexP}] : "newvalue"
}

caused

'Identified dynamic name of key '${indexP}[${indexP}]' that does not exist. But new keys can only be created based on hard code names.'

With latest changes of the JsonPreprocessor the error message changed to:

'expected string or bytes-like object'

Both is wrong.

Expected is:

TypeError: 'int' object does not support item assignment

Metadata

Metadata

Assignees

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions