Hello outsystems team, I implementing the json compare component for old list of records to new list of records to compare ,here im facing the error when im passing list of record to parsing the jobject eg- jobject.parse("Some json string"),I think need to modify the .Net code . please help me to solve
Hello Muruga,
Can you please share screenshot of error you are getting to understand the issue?
above error message appers when passing the list of record in json format to jobject
I may suggest to copy your Json and parse it in one of online Json parsers to make sure your Json string is correct. you can use this online validator : https://jsonformatter.curiousconcept.com/
Also If you have any list attribute make sure in Json string its surrounded by {}.
yes @Mostafa Othman, thank you for reply in list of records i trimmed the first "[" and replace this "{" and same for last paranthesis, but its not work
your valid Json should look like this one:
{
"items":[
"itemDesc":"#1",
"projectAmount":"12345",
"cummulativeAmount":"123"
},
"itemDesc":"#2",
"projectAmount":"6789",
"cummulativeAmount":"67"
"itemDesc":"#3",
"projectAmount":"12567",
"cummulativeAmount":"12"
}
]
ok Mostafa Othman, will check and inform you