Click here to Skip to main content
15,895,746 members
Home / Discussions / C#
   

C#

 
AnswerRe: Continue program after encountering error Pin
Eddy Vluggen10-Mar-21 11:24
professionalEddy Vluggen10-Mar-21 11:24 
AnswerRe: Continue program after encountering error Pin
OriginalGriff10-Mar-21 21:17
mveOriginalGriff10-Mar-21 21:17 
QuestionHow to pass an array or structs to DeviceIoControl when using pinvoke Pin
BobZscharnagk7-Mar-21 22:13
BobZscharnagk7-Mar-21 22:13 
AnswerRe: How to pass an array or structs to DeviceIoControl when using pinvoke Pin
Randor 8-Mar-21 11:50
professional Randor 8-Mar-21 11:50 
GeneralRe: How to pass an array or structs to DeviceIoControl when using pinvoke Pin
Gerry Schmitz9-Mar-21 8:16
mveGerry Schmitz9-Mar-21 8:16 
GeneralRe: How to pass an array or structs to DeviceIoControl when using pinvoke Pin
Randor 9-Mar-21 10:24
professional Randor 9-Mar-21 10:24 
GeneralRe: How to pass an array or structs to DeviceIoControl when using pinvoke Pin
BobZscharnagk10-Mar-21 14:09
BobZscharnagk10-Mar-21 14:09 
GeneralRe: How to pass an array or structs to DeviceIoControl when using pinvoke Pin
Randor 10-Mar-21 16:54
professional Randor 10-Mar-21 16:54 
GeneralRe: How to pass an array or structs to DeviceIoControl when using pinvoke Pin
BobZscharnagk10-Mar-21 19:30
BobZscharnagk10-Mar-21 19:30 
GeneralRe: How to pass an array or structs to DeviceIoControl when using pinvoke Pin
BobZscharnagk10-Mar-21 22:40
BobZscharnagk10-Mar-21 22:40 
GeneralRe: How to pass an array or structs to DeviceIoControl when using pinvoke Pin
Randor 10-Mar-21 23:08
professional Randor 10-Mar-21 23:08 
QuestionUser Control Pin
Ismael_19997-Mar-21 9:17
Ismael_19997-Mar-21 9:17 
AnswerRe: User Control Pin
OriginalGriff7-Mar-21 11:20
mveOriginalGriff7-Mar-21 11:20 
GeneralRe: User Control Pin
Ismael_19998-Mar-21 1:50
Ismael_19998-Mar-21 1:50 
GeneralRe: User Control Pin
OriginalGriff8-Mar-21 2:45
mveOriginalGriff8-Mar-21 2:45 
AnswerRe: User Control Pin
BillWoodruff7-Mar-21 17:03
professionalBillWoodruff7-Mar-21 17:03 
GeneralRe: User Control Pin
Ismael_19998-Mar-21 1:49
Ismael_19998-Mar-21 1:49 
AnswerRe: User Control Pin
Ralf Meier7-Mar-21 22:46
mveRalf Meier7-Mar-21 22:46 
GeneralRe: User Control Pin
BillWoodruff8-Mar-21 1:07
professionalBillWoodruff8-Mar-21 1:07 
GeneralRe: User Control Pin
Ismael_19998-Mar-21 1:51
Ismael_19998-Mar-21 1:51 
GeneralRe: User Control Pin
Ralf Meier8-Mar-21 5:10
mveRalf Meier8-Mar-21 5:10 
QuestionHow to take JSON POST data and covert it to something i can work with Pin
jacobarrey4-Mar-21 11:40
jacobarrey4-Mar-21 11:40 
Here is some sample data i have been provided using json post

{
"PropertyInfos": [
    {
      "Identification": {
        "IDValue": "102"
      },
      "PropertyName": "Casa Bella",
      "ManagementCompany": {
        "ManagementCompanyName": "ACME Trusts",
        "Identification": {
          "IDValue": "2"
        }
      },
      "Address": {
        "Address": "425 Slopestyle Skies Se",
        "City": "Lincoln",
        "State": "NE",
        "PostalCode": "67123",
        "Email": "test@example.com"
      }
    },
    {
      "Identification": {
        "IDValue": "20"
      },
      "PropertyName": "Tall Tower",
      "ManagementCompany": {
        "ManagementCompanyName": "ACME Trusts",
        "Identification": {
          "IDValue": "2"
        }
      },
      "Address": {
        "Address": "789 Steele Street",
        "City": "Denver",
        "State": "CO",
        "PostalCode": "80206",
        "Email": "tall.tower@example.com"
      }
    },
    {
      "Identification": {
        "IDValue": "92"
      },
      "PropertyName": "Z Emerson",
      "ManagementCompany": {
        "ManagementCompanyName": "ACME Trusts",
        "Identification": {
          "IDValue": "2"
        }
      },
      "Address": {
        "Address": "2199 112th St S",
        "City": "Chicago",
        "State": "IL",
        "PostalCode": "60444",
        "Email": "test@example.com"
      }
    }
  ]
}


How can I convert this into a list or dictionary so i can then work with each of the entries and import them into my system using c#. if they were in a list or dictionary i would be able to go through the list and do what i need with each data entry. I am very new when it comes to working with JSON api and what not. Any help or pointers in the right direction would be awesome. Thank you guys! Smile | :)
AnswerRe: How to take JSON POST data and covert it to something i can work with Pin
OriginalGriff4-Mar-21 11:45
mveOriginalGriff4-Mar-21 11:45 
GeneralRe: How to take JSON POST data and covert it to something i can work with Pin
jacobarrey5-Mar-21 9:37
jacobarrey5-Mar-21 9:37 
GeneralRe: How to take JSON POST data and covert it to something i can work with Pin
OriginalGriff5-Mar-21 10:57
mveOriginalGriff5-Mar-21 10:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.