How to Convert url response data to json object in C#?











up vote
-1
down vote

favorite












Url response data is JSON string format but I want to JSON object format I want to underline data



{"Result":"Success","Result_PermitDetails":[{"PermitNumber":"PR11110401830177","FinancialYear":"2017-2018 ","MineralID":6,"UnitID":1,"AvailableQuantity":2000.000,"AvailableAmount":2000000.00,"AvailableCessonMBL":40000.00,"AvailableMerit":40000.00,"AvailableDMF":600000.00,"AvailableNMET":0.00,"ApprovedQuantity":2000.0,"ApprovedRoyalty":2000000.00,"ApprovedCessonMBL":40000.00,"ApprovedMERIT":40000.00,"ApprovedDMF":600000.00,"ApprovedNMET":0.00,"ATFromDate":"2/19/2018 12:00:00 AM","ATToDate":"2/27/2019 12:00:00 AM","MinaralName":"Barytes (White)"},{"PermitNumber":"PR11110401830178","FinancialYear":"2017-2018 ","MineralID":6,"UnitID":1,"AvailableQuantity":100.000,"AvailableAmount":100000.00,"AvailableCessonMBL":2000.00,"AvailableMerit":2000.00,"AvailableDMF":30000.00,"AvailableNMET":0.00,"ApprovedQuantity":100.0,"ApprovedRoyalty":100000.00,"ApprovedCessonMBL":2000.00,"ApprovedMERIT":2000.00,"ApprovedDMF":30000.00,"ApprovedNMET":0.00,"ATFromDate":"2/22/2018 12:00:00 AM","ATToDate":"2/27/2019 12:00:00 AM","MinaralName":"Barytes (White)"},{"PermitNumber":"PR11110401830182","FinancialYear":"2018-2019 


enter image description here










share|improve this question
























  • It's not clear what you want to do?
    – Alex
    Nov 8 at 10:26










  • please see the image
    – Sankar rao
    Nov 8 at 10:30










  • no, that's not how stackoverflow works. Please edit your question to have the detail. Have a read of this - stackoverflow.com/help/how-to-ask
    – Alex
    Nov 8 at 11:12












  • This String Convert to C# object
    – Sankar rao
    Nov 8 at 11:43










  • Please read this page fully - stackoverflow.com/help/how-to-ask
    – Alex
    Nov 8 at 15:47

















up vote
-1
down vote

favorite












Url response data is JSON string format but I want to JSON object format I want to underline data



{"Result":"Success","Result_PermitDetails":[{"PermitNumber":"PR11110401830177","FinancialYear":"2017-2018 ","MineralID":6,"UnitID":1,"AvailableQuantity":2000.000,"AvailableAmount":2000000.00,"AvailableCessonMBL":40000.00,"AvailableMerit":40000.00,"AvailableDMF":600000.00,"AvailableNMET":0.00,"ApprovedQuantity":2000.0,"ApprovedRoyalty":2000000.00,"ApprovedCessonMBL":40000.00,"ApprovedMERIT":40000.00,"ApprovedDMF":600000.00,"ApprovedNMET":0.00,"ATFromDate":"2/19/2018 12:00:00 AM","ATToDate":"2/27/2019 12:00:00 AM","MinaralName":"Barytes (White)"},{"PermitNumber":"PR11110401830178","FinancialYear":"2017-2018 ","MineralID":6,"UnitID":1,"AvailableQuantity":100.000,"AvailableAmount":100000.00,"AvailableCessonMBL":2000.00,"AvailableMerit":2000.00,"AvailableDMF":30000.00,"AvailableNMET":0.00,"ApprovedQuantity":100.0,"ApprovedRoyalty":100000.00,"ApprovedCessonMBL":2000.00,"ApprovedMERIT":2000.00,"ApprovedDMF":30000.00,"ApprovedNMET":0.00,"ATFromDate":"2/22/2018 12:00:00 AM","ATToDate":"2/27/2019 12:00:00 AM","MinaralName":"Barytes (White)"},{"PermitNumber":"PR11110401830182","FinancialYear":"2018-2019 


enter image description here










share|improve this question
























  • It's not clear what you want to do?
    – Alex
    Nov 8 at 10:26










  • please see the image
    – Sankar rao
    Nov 8 at 10:30










  • no, that's not how stackoverflow works. Please edit your question to have the detail. Have a read of this - stackoverflow.com/help/how-to-ask
    – Alex
    Nov 8 at 11:12












  • This String Convert to C# object
    – Sankar rao
    Nov 8 at 11:43










  • Please read this page fully - stackoverflow.com/help/how-to-ask
    – Alex
    Nov 8 at 15:47















up vote
-1
down vote

favorite









up vote
-1
down vote

favorite











Url response data is JSON string format but I want to JSON object format I want to underline data



{"Result":"Success","Result_PermitDetails":[{"PermitNumber":"PR11110401830177","FinancialYear":"2017-2018 ","MineralID":6,"UnitID":1,"AvailableQuantity":2000.000,"AvailableAmount":2000000.00,"AvailableCessonMBL":40000.00,"AvailableMerit":40000.00,"AvailableDMF":600000.00,"AvailableNMET":0.00,"ApprovedQuantity":2000.0,"ApprovedRoyalty":2000000.00,"ApprovedCessonMBL":40000.00,"ApprovedMERIT":40000.00,"ApprovedDMF":600000.00,"ApprovedNMET":0.00,"ATFromDate":"2/19/2018 12:00:00 AM","ATToDate":"2/27/2019 12:00:00 AM","MinaralName":"Barytes (White)"},{"PermitNumber":"PR11110401830178","FinancialYear":"2017-2018 ","MineralID":6,"UnitID":1,"AvailableQuantity":100.000,"AvailableAmount":100000.00,"AvailableCessonMBL":2000.00,"AvailableMerit":2000.00,"AvailableDMF":30000.00,"AvailableNMET":0.00,"ApprovedQuantity":100.0,"ApprovedRoyalty":100000.00,"ApprovedCessonMBL":2000.00,"ApprovedMERIT":2000.00,"ApprovedDMF":30000.00,"ApprovedNMET":0.00,"ATFromDate":"2/22/2018 12:00:00 AM","ATToDate":"2/27/2019 12:00:00 AM","MinaralName":"Barytes (White)"},{"PermitNumber":"PR11110401830182","FinancialYear":"2018-2019 


enter image description here










share|improve this question















Url response data is JSON string format but I want to JSON object format I want to underline data



{"Result":"Success","Result_PermitDetails":[{"PermitNumber":"PR11110401830177","FinancialYear":"2017-2018 ","MineralID":6,"UnitID":1,"AvailableQuantity":2000.000,"AvailableAmount":2000000.00,"AvailableCessonMBL":40000.00,"AvailableMerit":40000.00,"AvailableDMF":600000.00,"AvailableNMET":0.00,"ApprovedQuantity":2000.0,"ApprovedRoyalty":2000000.00,"ApprovedCessonMBL":40000.00,"ApprovedMERIT":40000.00,"ApprovedDMF":600000.00,"ApprovedNMET":0.00,"ATFromDate":"2/19/2018 12:00:00 AM","ATToDate":"2/27/2019 12:00:00 AM","MinaralName":"Barytes (White)"},{"PermitNumber":"PR11110401830178","FinancialYear":"2017-2018 ","MineralID":6,"UnitID":1,"AvailableQuantity":100.000,"AvailableAmount":100000.00,"AvailableCessonMBL":2000.00,"AvailableMerit":2000.00,"AvailableDMF":30000.00,"AvailableNMET":0.00,"ApprovedQuantity":100.0,"ApprovedRoyalty":100000.00,"ApprovedCessonMBL":2000.00,"ApprovedMERIT":2000.00,"ApprovedDMF":30000.00,"ApprovedNMET":0.00,"ATFromDate":"2/22/2018 12:00:00 AM","ATToDate":"2/27/2019 12:00:00 AM","MinaralName":"Barytes (White)"},{"PermitNumber":"PR11110401830182","FinancialYear":"2018-2019 


enter image description here







url asp.net-web-api






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 8 at 11:41

























asked Nov 8 at 10:02









Sankar rao

43




43












  • It's not clear what you want to do?
    – Alex
    Nov 8 at 10:26










  • please see the image
    – Sankar rao
    Nov 8 at 10:30










  • no, that's not how stackoverflow works. Please edit your question to have the detail. Have a read of this - stackoverflow.com/help/how-to-ask
    – Alex
    Nov 8 at 11:12












  • This String Convert to C# object
    – Sankar rao
    Nov 8 at 11:43










  • Please read this page fully - stackoverflow.com/help/how-to-ask
    – Alex
    Nov 8 at 15:47




















  • It's not clear what you want to do?
    – Alex
    Nov 8 at 10:26










  • please see the image
    – Sankar rao
    Nov 8 at 10:30










  • no, that's not how stackoverflow works. Please edit your question to have the detail. Have a read of this - stackoverflow.com/help/how-to-ask
    – Alex
    Nov 8 at 11:12












  • This String Convert to C# object
    – Sankar rao
    Nov 8 at 11:43










  • Please read this page fully - stackoverflow.com/help/how-to-ask
    – Alex
    Nov 8 at 15:47


















It's not clear what you want to do?
– Alex
Nov 8 at 10:26




It's not clear what you want to do?
– Alex
Nov 8 at 10:26












please see the image
– Sankar rao
Nov 8 at 10:30




please see the image
– Sankar rao
Nov 8 at 10:30












no, that's not how stackoverflow works. Please edit your question to have the detail. Have a read of this - stackoverflow.com/help/how-to-ask
– Alex
Nov 8 at 11:12






no, that's not how stackoverflow works. Please edit your question to have the detail. Have a read of this - stackoverflow.com/help/how-to-ask
– Alex
Nov 8 at 11:12














This String Convert to C# object
– Sankar rao
Nov 8 at 11:43




This String Convert to C# object
– Sankar rao
Nov 8 at 11:43












Please read this page fully - stackoverflow.com/help/how-to-ask
– Alex
Nov 8 at 15:47






Please read this page fully - stackoverflow.com/help/how-to-ask
– Alex
Nov 8 at 15:47



















active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53205385%2fhow-to-convert-url-response-data-to-json-object-in-c%23new-answer', 'question_page');
}
);

Post as a guest





































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53205385%2fhow-to-convert-url-response-data-to-json-object-in-c%23new-answer', 'question_page');
}
);

Post as a guest




















































































Popular posts from this blog

Schultheiß

Liste der Kulturdenkmale in Wilsdruff

Android Play Services Check