Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Convert JSON with illegal characters in property name

(0) ShareShare
ReportReport
Posted on by 2,715

Hi i am facing some challenge while parsing the json result ,can anyone plesae help me on this

{
            "2189f3b7-de3a-4cd5-868b-ef50e4d3aa46": {
                "DataTypes": [
                    " DataField",
                    "FilterField"
                ],
                "ChilData": [
                    "235caff5-250c-402e-aabc-39ecc3042851",
                    "481dd7e2-001c-4681-8eae-010af51d957d"
                ],
                "Id": "2189f3b7-da3a-4cc5-868b-ef50e4d3aa26",
                "DisplayName": " test Product",
                "LocaleName": "test",
                "ShortName": "test_topic",
                "LastModifiedId": "f292b452-5441-e011-9767d8d385dcbb12",
                "LastModifiedDate": "2014-12-08T22:33:05.551",
                "ParentId": "00000000-0000-0000-0000-000000000000",
                "Order": 0,
                "Level": 0
            },
            "235caff5-250c-402e-aabc-39ecc3042851": {
                "DataTypes": [
                    "MetaValue"
                ],
                "ChilData": [
                    "412bd900-008e-4bde-923b-8f1a5c547e59"
                ],
                "Id": "235caff5-250c-402e-aabc-39ecc3042851",
                "DisplayName": "test Band",
                "LocaleName": "hin",
                "ShortName": "test1",
                "LastModifiedById": "846ead80-ce6b-464f-9b10-4addb1201ae2",
                "LastModifiedDate": "2015-10-26T20:46:54.243",
                "ParentId": "2189f3b7-da3a-4cc5-868b-ef50e4d3aa26",
                "Order": 0,
                "Level": 1

            }
        }

  

*This post is locked for comments

  • Ramakanta Profile Picture
    Ramakanta 2,715 on at
    RE: Convert JSON with illegal characters in property name

    Hi Andrii,

                 Thanks for quick response,here i  want the json response that i am getting from REST API to convert it into C# class.Response is coming as collection but due the Guid's at the beginning  causes issue while 

    Desearilize 

  • a33ik Profile Picture
    a33ik 84,325 Most Valuable Professional on at
    RE: Convert JSON with illegal characters in property name

    Hello,

    Can you please provide code that you use?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,735 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,466 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans