We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A JSON string contains a file import. The imported file contains another import. This imported file also contains another import.
sJSON = """{ "[import]" : "./imports/imported.jsonp", "A" : 1 }"""
The JSON string is handed over to 'jsonLoads':
jsonLoads
dictValues = oJsonPreprocessor.jsonLoads(sJSON)
This works like expected. I get all values.
I exchange the relative path to the imported file by the corresponding absolute path:
sJSON = """{ "[import]" : "D:/SWDEV/Dev_Python_3/TestScript/imports/imported.jsonp", "A" : 1 }"""
Now the result is: Exception: Cyclic imported json file 'D:/SWDEV/Dev_Python_3/TestScript/imports/imported.jsonp'!
Exception: Cyclic imported json file 'D:/SWDEV/Dev_Python_3/TestScript/imports/imported.jsonp'!
But expected is to get the defined values.
No such problem with 'jsonLoad'.
jsonLoad
The text was updated successfully, but these errors were encountered:
Hello Holger,
I fixed this issue and pushed to stabi branch.
Thank you, Son
Sorry, something went wrong.
Retest successful. Issue can be closed.
namsonx
No branches or pull requests
A JSON string contains a file import. The imported file contains another import. This imported file also contains another import.
The JSON string is handed over to '
jsonLoads
':dictValues = oJsonPreprocessor.jsonLoads(sJSON)
This works like expected. I get all values.
I exchange the relative path to the imported file by the corresponding absolute path:
Now the result is:
Exception: Cyclic imported json file 'D:/SWDEV/Dev_Python_3/TestScript/imports/imported.jsonp'!
But expected is to get the defined values.
No such problem with '
jsonLoad
'.The text was updated successfully, but these errors were encountered: