M
moondaddy
Guest
I have a method in c# but builds a Json string and it looks properly formatted to me, but when I test it in online Json parsers, they say its valid but they show only of the the two elements. For example, here's the full text:
{"edges": {
"Phone": {"15588881022": {"hasPhoneCall": {"PhoneCall": {"15588225488134883643251429541241": {"testAtt_Text": {"value": "TestVal1","op": "+"},"testAtt_INT": {"value": 123456,"op": "+"},"testAtt_UINT": {"value": 654321,"op": "+"}}}}}}
,
"Phone": {"15588881022": {"hasPhoneCall": {"PhoneCall": {"15588225488134883643251429541241": {"testAtt_Text": {"value": "TestVal1","op": "+"},"testAtt_INT": {"value": 123456,"op": "+"},"testAtt_UINT": {"value": 654321,"op": "+"}}}}}}
}}
and here's the output:
{
"edges": {
"Phone": {
"15588881022": {
"hasPhoneCall": {
"PhoneCall": {
"15588225488134883643251429541241": {
"testAtt_Text": {
"value": "TestVal1",
"op": "+"
},
"testAtt_INT": {
"value": 123456,
"op": "+"
},
"testAtt_UINT": {
"value": 654321,
"op": "+"
}
}
}
}
}
}
}
}
There should be two sections/elements for "Phone". can someone please explain this?
Thank you.
Continue reading...
{"edges": {
"Phone": {"15588881022": {"hasPhoneCall": {"PhoneCall": {"15588225488134883643251429541241": {"testAtt_Text": {"value": "TestVal1","op": "+"},"testAtt_INT": {"value": 123456,"op": "+"},"testAtt_UINT": {"value": 654321,"op": "+"}}}}}}
,
"Phone": {"15588881022": {"hasPhoneCall": {"PhoneCall": {"15588225488134883643251429541241": {"testAtt_Text": {"value": "TestVal1","op": "+"},"testAtt_INT": {"value": 123456,"op": "+"},"testAtt_UINT": {"value": 654321,"op": "+"}}}}}}
}}
and here's the output:
{
"edges": {
"Phone": {
"15588881022": {
"hasPhoneCall": {
"PhoneCall": {
"15588225488134883643251429541241": {
"testAtt_Text": {
"value": "TestVal1",
"op": "+"
},
"testAtt_INT": {
"value": 123456,
"op": "+"
},
"testAtt_UINT": {
"value": 654321,
"op": "+"
}
}
}
}
}
}
}
}
There should be two sections/elements for "Phone". can someone please explain this?
Thank you.
Continue reading...