test-fullautomation / python-jsonpreprocessor

A preprocessor for json files
Apache License 2.0
2 stars 2 forks source link

Computation harmed by blanks #212

Closed HolQue closed 1 month ago

HolQue commented 4 months ago

This works:

"param1" : "A",
"params" : {"${param1}" : "A",
            "param2" : "B"
           }

Result:

{'param1': 'A', 'params': {'A': 'A', 'param2': 'B'}}

With a blank between curly bracket and quote, it does not work any more:

"param1" : "A",
"params" : { "${param1}" : "A",
            "param2" : "B"
           }

Result:

Error: 'Invalid nested parameter format: { "${param1}" - The double quotes are missing!!!'!

With line break instead of this additional blank, it works again.

Expectation: Such kind of blanks should not harm the computation.

namsonx commented 3 months ago

Hello Holger,

This issue was fixed on stabi branch!

Thank you, Son

HolQue commented 3 months ago

Retest successful. Issue can be closed.

test-fullautomation commented 1 month ago

integrated in RobotFramework AIO 0.11.0