Skip to content

Error messages (32) #330

@HolQue

Description

@HolQue

Previously this code

{
   "keyP"   : "A",
   ${keyP}[${keyP}] : "newvalue"
}

caused

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

With latest changes of the JsonPreprocessor values are returned

DotDict({'keyP': 'A', 'A': 'newvalue'})

Both is wrong.

A string cannot be an index of a string.

Expected is error message

TypeError: 'str' 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