skip to Main Content

Json Error while reading a nested list from a file

Following this post, I used the following code: with open(mytextFile) as f: nestedList = json.load(f) print(nestedList) my textfile consists of [[i,1],[i,2]] only. When I run the above code, I get the error: raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError:…

VIEW QUESTION

How to update json property of TimeStamp in oracle

I have one of the column audit_info with JSON data in the table: { "AddInfo":{ "UPN":"[email protected]", "UserName":"[email protected]", "TimeStamp":"2021-10-11T15:54:34:4805634Z", "Source":"xyz" }, "ChangeInfo":{ "UPN":"[email protected]", "UserName":"[email protected]", "TimeStamp":"2021-10-11T15:54:34:4832421Z", "Source":"xyz" } } I need to update TimeStamp of seconds decimal point from :4832421Z to .4832421Z…

VIEW QUESTION
Back To Top
Search