login about faq

I have the following string Using c# and Chilkat.JsonArray() and Chilkat.JsonObject() How to get first the main key / value pair like id and value 365335023961929110 and form_id and value 70726675402962 Then, for each answer get the answer number and within it the pair key value like answer number 3, then text and value "Name of Recommender" and so on. Thank you

 {[
  {
    "id": "365335023961929110",
    "form_id": "70726675402962",
    "ip": "76.79.81.69",
    "created_at": "2017-03-14 17:10:23",
    "status": "ACTIVE",
    "new": "0",
    "flag": "0",
    "updated_at": "2017-03-14 18:28:40",
    "answers": {
      "3": {
        "text": "Name of Recommender",
        "type": "control_fullname",
        "answer": {
          "first": "Joanna",
          "last": "Smith"
        },
        "prettyFormat": "Joanna Smith"
      },
      "5": {
        "text": "Organization",
        "type": "control_textbox",
        "answer": "The Awesomesauce Company"
      },
      "6": {
        "text": "E-mail",
        "type": "control_email",
        "answer": "joanna.smith123@gmail.com"
      },
      "7": {
        "text": "Phone Number",
        "type": "control_phone",
        "answer": {
          "area": "222",
          "phone": "7291824"
        },
        "prettyFormat": "(222) 7291824"
      },
      "10": {
        "text": "Full Name of Nominee",
        "type": "control_fullname",
        "answer": {
          "first": "Natalie",
          "last": "Smith"
        },
        "prettyFormat": "Natalie Smith"
      },
      "11": {
        "text": "Current Title/Position of Nominee in Your Organization",
        "type": "control_textbox",
        "answer": "Baby of the House"
      },
      "12": {
        "text": "E-mail of Nominee",
        "type": "control_email",
        "answer": "BabySmith@email.com"
      },
      "13": {
        "text": "Phone Number for Nominee",
        "type": "control_phone",
        "answer": {
          "area": "222",
          "phone": "4445555"
        },
        "prettyFormat": "(222) 4445555"
      },
      "14": {
        "text": "Name of Nominee's Undergraduate College and Degree",
        "type": "control_textbox",
        "answer": "Baby College"
      },
      "15": {
        "text": "Nominee's 3 Primary Responsibilities at your organization",
        "type": "control_textarea",
        "answer": "Being a baby\r\nThrowing food on the ground\r\nCreating a mess\r\nTHIS IS A TEST"
      },
      "16": {
        "text": "Nominee's 3 Primary Strengths and/or Demonstrated Leadership Qualities",
        "type": "control_textarea",
        "answer": "Ability to change mind often\r\nCuteness\r\nCan read books upsidedown\r\nTHIS IS A TEST"
      },
      "18": {
        "text": "In what ways will the nominee be an asset to the program and their fellow student cohort?",
        "type": "control_textarea",
        "answer": "She will make everyone smile and she will nap often.\r\nTHIS IS A TEST"
      },
      "19": {
        "text": "Any additional thoughts or comments on the nominee, as it may pertain to their candidacy for this program?",
        "type": "control_textarea",
        "answer": "Definitely admit her."
      },
      "22": {
        "text": "Click here to affirm your nomination",
        "type": "control_radio",
        "answer": "I hereby nominate the above as a competitive candidate for the Amazing program of the Graduate School."
      },
      "24": {
        "text": "Please type your full name to confirm your submission",
        "type": "control_textbox",
        "answer": "Joanna L. Smith"
      },
      "25": {
        "text": "Date",
        "type": "control_datetime",
        "answer": {
          "month": "03",
          "day": "14",
          "year": "2017"
        },
        "prettyFormat": "03-14-2017"
      }
    }
  }
]}

asked Mar 14 at 20:46

myalo's gravatar image

myalo
1

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×25

Asked: Mar 14 at 20:46

Seen: 339 times

Last updated: Mar 14 at 20:46

powered by OSQA