Click here to Skip to main content
15,885,767 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am new to JSON.NET. I am trying to compare 2 JSON structures using VB.NET like

JavaScript
{
"attrs":[
{
"name":"_DB_ATTR_OSD_PARENT_",
"column":"OsDeployerParent",
"type":"Integer",
"enumName":null,
"units":null,
"readOnly":false,
"displayOrder":1,
"displayInList":false,
"needTranslation":false,
"valueCheckRegex":null
},
{
"name":"_DB_ATTR_SMALLICON_",
"column":"CurrentSmallIcon",
"type":"Enum",
"enumName":"DeviceIcons",
"units":null,
"readOnly":false,
"displayOrder":2,
"displayInList":false,
"needTranslation":true,
"valueCheckRegex":null
}
]
}

Please can someone help me.

Thanks.
Posted
Updated 13-Dec-12 21:10pm
v2
Comments
Kschuler 14-Dec-12 10:37am    
Compare them and then do what? What should happen if there are differences?
Member 9684436 17-Dec-12 0:10am    
I want to compare 2 JSON structures and segregated the differences if any.

Thanks.

1 solution

I just googled and found this
Some code is in c#, but i hope it could help you.
 
Share this answer
 
Comments
Keith Barrow 21-Dec-12 9:51am    
You've missed the link...
_Vitor Garcia_ 21-Dec-12 9:52am    
No i didn't.Please mouse over the this word.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900