[CLOSED] JSON

  1. #1

    [CLOSED] JSON

    Hi Coolite Team,

    I have a question how can I get the array count of

        JSON.Deserialize<Dictionary<string, string>[]>(e.ExtraParams["Value"]);
    If you can help me out.


  2. #2

    RE: [CLOSED] JSON

    Hi,

    Please provide more details. What is "array count"? What format has "e.ExtraParams["Value"]"?
  3. #3

    RE: [CLOSED] JSON

    This is the what it sends
    "[{\"title\":\"\",\"dataIndex\":\"\"},{\"title\":\"Graph Date\",\"dataIndex\":\"GraphDate\",\"hidden\":true},{\"title\":\"OSID\",\"dataIndex\":\"OSID\",\"hidden\":true},{\"title\":\"Flag\",\"dataIndex\":\"Flag\",\"hidden\":true},{\"title\":\"Report Date\",\"dataIndex\":\"ReportDate\",\"hidden\":true},{\"title\":\"Quarter\",\"dataIndex\":\"Quarter\",\"hidden\":true},{\"title\":\"Transaction Date\",\"dataIndex\":\"TransactionDate\"},{\"title\":\"Year\",\"dataIndex\":\"Year\"},{\"title\":\"EPS\",\"dataIndex\":\"EPS\"},{\"title\":\"Quarterly EPS\",\"dataIndex\":\"QuarterlyEPS\"},{\"title\":\"Revenue\",\"dataIndex\":\"Revenue\"},{\"title\":\"Quarterly Revenues\",\"dataIndex\":\"QuarterlyRevenues\"},{\"title\":\"Margin After Tax\",\"dataIndex\":\"MarginAfterTax\"},{\"title\":\"LoPE\",\"dataIndex\":\"LOPE\"},{\"title\":\"HiPE\",\"dataIndex\":\"HIPE\"},{\"title\":\"Funds\",\"dataIndex\":\"Funds\"},{\"title\":\"Shares\",\"dataIndex\":\"Shares\"},{\"title\":\"PE Flag\",\"dataIndex\":\"PEFLAG\"},{\"title\":\"Est Flag\",\"dataIndex\":\"EstFlag\"},{\"title\":\"Common Shares\",\"dataIndex\":\"CommonShares\"},{\"title\":\"Dividends\",\"dataIndex\":\"Dividends\"},{\"title\":\"Spec4\",\"dataIndex\":\"Spec4\"}]"
  4. #4

    RE: [CLOSED] JSON

    Hi,

    I am not sure what a problem do you have? Your JSON.Serialize code works fine on that json string. Can you describe the problem?
  5. #5

    RE: [CLOSED] JSON

    Hi Vlad,

    I just wanted to know I can get the Array count but I figured it out it was my mistake. Thank you very much for your help

Similar Threads

  1. [CLOSED] Newtonsoft.json
    By rthiney in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Nov 09, 2011, 2:26 PM
  2. [CLOSED] JSON to Excel?
    By Timothy in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: Oct 18, 2011, 10:44 PM
  3. [CLOSED] Json 4.0
    By majunior in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jun 24, 2011, 6:32 PM
  4. [CLOSED] Json.NET
    By Ben in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Mar 18, 2009, 3:12 PM
  5. [CLOSED] JSON conversion
    By Lex in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Sep 22, 2008, 4:06 AM

Posting Permissions