How to access a JSON structure key that starts with a number

I have a strange problem here.  I can access any other JSON structure so I am not able to change it.  The JSON structure keys are named with the characters and numbers like this:

0198456
product_id198456
1Feat Rashaan Houston Tony Loreto
artistFeat Rashaan Houston Tony Loreto

So, in other words, there is a key named "0" and a key named "product_id", containing the same key.  Why they did it, I don't know, but they did.

In one case, the data stored under the key name text is not identical to the digital key named.  I tried to view the data in the digital key like this (it is an array of structures):

#strStompyJSON.data [1].0 #.

but I get the following error:

--

Found no valid CFML building online 41 in column 31.

ColdFusion has been looking at the following:

.0

--

When I do the following, it works fine:

#strStompyJSON.data [1] .product_id #.

So, it seems that CF does not like to access a variable that begins with a number.  I am able to perform a loop on the structure by using a loop of the collection, and it shows all the keys (including digital) and their values using the following code:

< cfloop collection = "#strStompyJSON.data [1] # ' item 'key' = > '"
#key #: #strStompyJSON.data [1] [key] # < br / >
< / cfloop >

However, that does not allow me to access specific keys named with a number.  Is it possible that I can access a key that is named more precisely with a number?

Thank you!

Mike

Have you tried the support rating that I proposed in my first answer?  In my tests with your code, it worked without problem.

Thank you

Tags: ColdFusion

Similar Questions

  • Can I use the the same validation key that came with my computer is restored after the installation of a hard disc more?

    I bought a refurbished Dell desktop and you want to install a hard drive, can I use the the same validation key that came with my refurbished computer and if now what can I do?

    Original title: renovated

    Yes, you can, but I recommend that you use the following method to pass safely the license to drive bigger hard:

    http://notebooks.com/2011/02/16/how-to-move-Windows-7-to-a-larger-hard-disk/

  • This copy of Windows is not genuine I have Win 7 Home Premium doc & key that came with the pc but no disc, can I come back to win 7 HP?

    Bought an ASUS Eee PC a few months back - a well - was inactive for a few months and now has the following message displays on the screen "this copy of Windows is not genuine" - riddle previous owner installed Win 7 Professional w/o legitimate key? I have Win 7 Home Premium doc & key that came with the pc but not the Windows 7 installation disc. Is there one had to return/restore Win 7 HP without the original disc for Win 7?

    Adding infrom of win diag tool:

    Diagnostic report (1.9.0027.0):
    -----------------------------------------
    Validation of Windows data-->

    Validation code: 50
    Validation caching Code online: n/a, hr = 0xc004f012
    Windows product key: *-* - CM74G - RPHKF-PW487
    Windows product key hash: 71BRYMECVaSXedfumfu8zryHJVY =
    Windows product ID: 00371-177-0000061-85265
    Windows product ID type: 5
    Windows license type: retail
    The Windows OS version: 6.1.7600.2.00010100.0.0.048
    ID: {C258D6DC-FCEC-4D78-A6AE-D0290D63818A} (1)
    Admin: Yes
    TestCab: 0x0
    LegitcheckControl ActiveX: N/a, hr = 0 x 80070002
    Signed by: n/a, hr = 0 x 80070002
    Product name: Windows 7 Professional
    Architecture: 0x00000000
    Build lab: 7600.win7_gdr.120830 - 0334
    TTS error:
    Validation of diagnosis:
    Resolution state: n/a

    Given Vista WgaER-->
    ThreatID (s): n/a, hr = 0 x 80070002
    Version: N/a, hr = 0 x 80070002

    Windows XP Notifications data-->
    Cached result: n/a, hr = 0 x 80070002
    File: No.
    Version: N/a, hr = 0 x 80070002
    WgaTray.exe signed by: n/a, hr = 0 x 80070002
    WgaLogon.dll signed by: n/a, hr = 0 x 80070002

    OGA Notifications data-->
    Cached result: n/a, hr = 0 x 80070002
    Version: N/a, hr = 0 x 80070002
    OGAExec.exe signed by: n/a, hr = 0 x 80070002
    OGAAddin.dll signed by: n/a, hr = 0 x 80070002

    OGA data-->
    Office status: 103 blocked VLK
    Microsoft Office Visio Professional 2003 - 100 authentic
    Microsoft Office Enterprise 2007 - 103 blocked VLK
    OGA Version: N/a, 0 x 80070002
    Signed by: n/a, hr = 0 x 80070002
    Office Diagnostics: B4D0AA8B-604-645_025D1FF3-364-80041010_025D1FF3-229-80041010_025D1FF3-230-1_025D1FF3-517-80040154_025D1FF3-237-80040154_025D1FF3-238-2_025D1FF3-244-80070002_025D1FF3-258-3

    Data browser-->
    Proxy settings: N/A
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Win32)
    Default browser: C:\Users\admin\AppData\Local\Google\Chrome\Application\chrome.exe
    Download signed ActiveX controls: fast
    Download unsigned ActiveX controls: disabled
    Run ActiveX controls and plug-ins: allowed
    Initialize and script ActiveX controls not marked as safe: disabled
    Allow the Internet Explorer Webbrowser control scripts: disabled
    Active scripting: allowed
    Recognized ActiveX controls safe for scripting: allowed

    Analysis of file data-->

    Other data-->
    Office details: {C258D6DC-FCEC-4D78-A6AE-D0290D63818A}1.9.0027.06.1.7600.2.00010100.0.0.048x 32*-*-*-*-PW48700371-177-0000061-852655S-1-5-21-3606206582-1294634331-2799272895ASUSTeK Computer Inc. 1005PE American Megatrends Inc.. 0401 20091110000000.000000 + 000B8B83607018400F404090409Eastern Standard Time(GMT-05:00)03_ASUS_portable103100Microsoft Office Visio Professional 2003118DD0A165A1C2500EhKkzIViDaNcyOyUrmH6SKEP5sY =72085-640-9640702-5517614103Microsoft Office Enterprise 200712fFic3JgCreGGRxyF8uMWB4R4Jcg =89388-707-1528066-6591714 ACD7202654E586

    Content Spsys.log: 0 x 80070002

    License data-->
    The software licensing service version: 6.1.7600.16385

    Name: Windows 7 Professional edition
    Description: operating system Windows - Windows (r) 7, retail channel
    Activation ID: e838d943-63ed-4a0b-9fb1-47152908acc9
    ID of the application: 55c92734-d682-4d71-983e-d6ec3f16059f
    Extended PID: 00371-00170-177-000006-00-1033-7600.0000-2572012
    Installation ID: 005144242421870610215885787746464524889844109506716151
    Processor certificate URL: http://go.microsoft.com/fwlink/?LinkID=88338
    Machine certificate URL: http://go.microsoft.com/fwlink/?LinkID=88339
    Use license URL: http://go.microsoft.com/fwlink/?LinkID=88341
    Product key certificate URL: http://go.microsoft.com/fwlink/?LinkID=88340
    Partial product key: PW487
    License status: Notification
    Reason for the notification: 0xC004F009 (grace period expired).
    Remaining Windows rearm count: 3
    Trust time: 06/01/2013-06:27:26

    Windows Activation Technologies-->
    HrOffline: 0x00000000
    HrOnline: 0xC004C532
    Beyond: 0 x 0000000000000000
    Event timestamp: 1:4:2013 22:28
    ActiveX: Registered, Version: 7.1.7600.16395
    The admin service: recorded, Version: 7.1.7600.16395
    Output beyond bitmask:

    --> HWID data
    Current HWID hash: MAAAAAEAAQABAAIAAAABAAAAAwABAAEAJJTQ1TeXyGP8ULjtak5GkPhQ0OYk7nIZ

    Activation 1.0 data OEM-->
    N/A

    Activation 2.0 data OEM-->
    BIOS valid for OA 2.0: Yes
    Windows marker version: 0 x 20001
    OEMID and OEMTableID consistent: Yes
    BIOS information:
    ACPI Table name OEMID value OEMTableID value
    APIC A_M_I_ OEMAPIC
    FACP A_M_I_ OEMFACP
    HPET A_M_I_ OEMHPET
    MCFG A_M_I_ OEMMCFG
    CO-SUBMISSION A_M_I_ OEMECDT
    LASRYVITRAGE A_M_I_ AMI_OEM
    GSCI A_M_I_ GMCHSCI
    SSDT PmRef CpuPm
    SLIC _ASUS_ Notebook

    the key of product in use is touch uses default windows when no key is entered during installation and cannot be enabled. (he has a 30-day grace period that has expired)

    See response from Andrew on how to install home premium.
    Office status: 103 blocked VLK
    Microsoft Office Visio Professional 2003 - 100 authentic

    Microsoft Office Enterprise 2007 - 103 blocked VLK

    your office is not genuine.
  • How to access Windows 8 PC on the Internet with remote desktop connection?

    Hello

    Can someone tell me how to access Windows 8 PC on the Internet with remote desktop connection?

    I'm good with the software and I have used many Microsoft software since the 1980s. So I like Microsoft products, but since they have outsourced their tech support, you can't support quality even if you pay for it. I followed all the instructions in the Windows 8 will help about DRC setting screens, but I can't connect unless I'm on the same home network. Here are the details:

    I have a desktop PC with Windows 8 Pro and I have authorized the DRC. I tried two settings in system properties:

    1. Allow connections to this computer remotely.
    2. That allow the connection of computers running Office remotely with authentication NLA.

    I also turned on both private and Public Windows Firewall settings > allow an App or feature through Windows Firewall.

    I have installation then DRC to my laptop with Windows 8 (standard edition, not the Pro version). I have a DRC using the full name of the computer and other DRC using the static IP address for my ISP Desktop connection.

    I use the user account administrator Windows for connections of DRC of the laptop.

    I cannot get this to work on the Internet from a location outside my house with another ISP connection. The only way it works if I'm uncomfortable with the laptop using the same network home.

    I called Dell tech support and it is always useless and just a more aggravating waste of an hour to talk to their support of technique outsourced in India (who barely even understand English) and then they hang up the phone as it was supposed to be disconnected. I also called Microsoft support and lost more than an hour to speak to their outsourced tech support in the Philippines (and as support of the India, they hang up or 'disconnect' when they cannot answer your question and they go account learn you more about Windows while they do). U.S. tech companies use AMERICANS more for their technical support so their customers can get people who actually care about doing a good job and can actually understand English?

    So if someone who knows using Windows 8 for DRC on the Internet has some tips, then it would be greatly appreciated.

    Thank you!!

    P.S. If anyone is offended by my comments about the ugly, incompetent, stupid providing "technical support" in India or the Philippines - Nevermind! You go ahead and waste hours of your time talking to some Morón in these countries, who barely understands English and then 'disconnects' the call when they know that you realize that they are clueless and have all the answers.

    Take a look at no - IP.com or dyndns.com, and then use your host.domain:3389 of no.-ip/dynDNS or run RelaVNc SErver that is running on port 5900 by default.  Server options allow you to change the port as well if necessary.

  • How I replace the toolbar firefox... and remove the toolbar that starts with the MOST VISITED and SUGGESTED SITES

    Somehow lost the toolbar that has the page back arrow and refresh and stop icons. How can I replace those and remove a toolbar that starts with the MOST VISITED and lists several SUGGESTED SITES.

    Hello kittyheckel, please see the Navigation buttons such as back, home, bookmarks and recharge are missing. You'll want to disable the bookmarks toolbar and enable the navigation toolbar.

  • Uploaded image of Windows 7 Professional will not accept the product key that came with my computer.

    I have a Dell laptop, Studio, approximately 1 year, delivered with Windows 7 Professional installed - the label with the genuine product key is located at the bottom of the laptop. Shortly after I got it I deleted the recovery partition to make room for Linux installed next to Windows. I had problems with Windows system (mainly caused by me bad installation software and drivers without proper backups) so I decided to reinstall Windows. I had already deleted the recovery partition and wouldn't use it anyway because I prefer a clean system without unwanted from the manufacturer in this regard. I did not receive a Windows operating system installation DVD with my computer, so I downloaded a (64-bit Windows 7 Professional, the same as the original operating system) which already had SP1 on it (the version of Win7Pro installed Dell's not SP1). I installed Windows on this drive and attempted to activate using the product key that came with my computer, but it would not accept the key. I don't have time to try to solve this problem, but now the period of one month is up and my computer does not work correctly.
    I suspect that the problem may be due to me using the SP1 disc. If this is the case, should I reinstall Windows again? I have * NOT * GOING to buy another product key when I have already paid for a genuine version of Windows. I just want to be able to use my computer without the ridiculous slowdowns caused by pre-installed software and the way I chose.

    Thanks for any help with this problem, I really need fo fix my computer.

    original title: Activation error, Windows 7 Professional
    Windows product key: *-* - M3DJT - 4J3WC-733WD
    Windows license Type: OEM SLP

    The key to your report is your OEM SLP key which can not be activated. This isn't the key to COA.

    but the key I tried to use is what I copied on the COA the day I got the computer of the book where I put all the information on my computers.

    Is the product key in your book is the partial key in your report?
    You must change the product key to the one on your COA.
    Check your compartment of the COA.
    The other solution is to reinstall your Dell OEM recovery disks or recovery partition. This self will activate your computer.
    Additional information:

    Computers, which are built by large manufacturers provided with pre-installed Windows are supplied with 2 two product keys:

    (A) OEM SLP: this key comes pre-installed in Windows, when it comes to the factory. This key is designed to work with the special instructions isn't on the hardware of this manufacturer. Then, when Windows was installed using the OEM SLP (in factory) Windows 7 key leans on the motherboard and he sees special instructions and activates. (that's why you had no need to turn on your computer after you brought it home)

    (B) COA SLP: it's the product key that you see on the sticker on the side (or at the bottom, [or in the battery compartment]) of your computer. It is a valid product key, but must be used only in certain situations (for example, if the OEM SLP key stops automatic activation for a reason any). The key must be activated by phone. (Note: all manufacturers that use the SLP OEM system are bound by contract to include a certificate of Authenticity sticker (COA), which has a COA SLP key, on the computer)

  • How can I remove the default documents that come with a new Send on behalf of the Signature? (I9, W9, W4, etc..) These are old and obsolete, so I don't want those who will appear for selection.

    How can I remove the default documents that come with a new Send on behalf of Signature (EchoSign)? (I9, W9, W4, etc..) These are old and obsolete, so I don't want those who will appear for selection.

    With the account of the company, you will get an option to remove these forms.

    Pro account you will need to contact the support team EchoSign

    With the free account, it is not possible.

  • I have a Macbook Pro which is not a hard drive.  How to install Adobe Photoshop elements 11 that came with the Epson scanner, I bought.  I registered S/N, and I can't find the free download anywhere alone trials.

    I have a Macbook Pro which is not a hard drive.  How to install Adobe Photoshop elements 11 that came with the Epson scanner, I bought.  I registered S/N, and I can't find the free download anywhere alone trials.

    Downloads available:

    Download and installation help links Adobe

    Help download and installation to Prodesigntools links can be found on the most linked pages.  They are essential; especially steps 1, 2 and 3.  If you click on a link that does not have these listed steps, open a second window by using the link to Lightroom 3 to see these "important Instructions".

  • When I go on the site of adobe and then try to download the software, a message appears saying that safari can't open a page that starts with "Mao."

    I bought a subscription to a cloud creative adobe Photoshop and Lightroom. When I go on the site of adobe and then try to download the software, a message appears saying that safari can't open a page that starts with "Mao."

    Download & install instructions https://forums.adobe.com/thread/2003339 can help

    -includes a link to access a page to download the Adobe programs if you do not have a disk or drive

    Also go to https://forums.adobe.com/community/creative_cloud/creative_cloud_faq

  • How to create a Json structure programmatically in Qt

    Hi all

    I know to parse a json structure, but not vice versa.

    This is the structure that I need to create.

    {'3': ['Num accounts', '1'], '2': ['Version', '1'], '1': ["OS, BB10", '10.2.1.0'], '4': ['Local', 'en_US']}

    Can someone tell me how do in a standard way.

    Look here

    https://developer.BlackBerry.com/native/reference/Cascades/bb__data__jsondataaccess.html#function-SA...

    QByteArray buffer;
    JsonDataAccess jda;
    jda.saveToBuffer(QVariant(map), &buffer);qDebug() << buffer;
    
  • Smartphones blackBerry how to access the directory structure?

    It's pretty newbie, for sure, but I can't seem to find a way to access the file structure.  What Miss me?  TIA

    Tim

    What exactly mean the file structure? Did you mean Explorer mode of the directory?

    Go to the media -> click on Menu -> Explore.

  • Can I install a copy of Windows 7 retail and use the OEM key that came with my system to activate it?

    Help me asus laptop n55sf
    I bought asus n55sf notebook, The OEM OS (Windows 7 Home Premium) it comes preinstalled without any image or cd and I want to ask to download an original copy of Windows 7 Home Premium from microsoft using the key provided with the laptop

    New computers coming often pre-installed with Windows 7 have what is called a recovery partition. This is used to reinstall an operating system in the case of a system failure. To access it, you need to start when you start your computer by pressing a function key. This can be either F1, F2, F9, F10, F11, F12 key DEL or tab. See the manual that came with your PC for instructions on how to reinstall Windows.

    If your recovery partition is not available or damaged, you must contact the manufacturer of your computer, and request that a defined recovery disk you can use to reinstall Windows 7. They could practice a small shipping and handling.

    Another option:

    Download the Windows 7 ISO Image

    Windows 7 Edition Home Premium x 64 (64-bit)

    English: http://msft-dnl.digitalrivercontent.net/msvista/pub/X15-65733/X15-65733.iso

    32 bit
    http://MSFT-DNL.digitalrivercontent.NET/msvista/pub/X15-65732/X15-65732.ISO

    ImgBurn - supporting the creation of CD more. ISO files,
    It supports a wide range of image file formats, and it's free.
    (BIN, CUE, DI, DVD, GI, IMG, MDS, NRG, PDI and ISO)
    http://www.ImgBurn.com/

    http://NeoSmart.NET/wiki/display/G/Burning+ISO+images+with+ImgBurn

    Download and install burn ISO Gear (free):
    http://www.GearSoftware.com/gear-ISO-burn.php

    Note: Use always slower burning (4 x or 2 x) speed is offered a choice.

    You will need to create a disk bootable thumb with the help of the. ISO so you can reinstall Windows 7 Home Premium using your product key:

    Download Windows 7 USB/DVD tool

    http://store.Microsoft.com/help/ISO-tool

  • How do I install the graphics driver that came with my Satellite A210

    Well my previous my GPU overheating problem has continued and I go back to the drivers that came with my laptop.
    Can someone guide me on how to do it?

    That's simply

    Go to the page of European driver of Toshiba and download the graphics driver from Toshiba designed for you notebook series.

    Then start the Device Manager and uninstall the graphics driver current.

    Restart the computer and then install the graphics driver downloaded on your system

    That s all ;)

  • Why don't my reinstallation of Windows XP accepts the key that comes with it?

    I have had trouble with my computer and decided to back up everything on an external drive (fact), reformat the disk (done) and re-install the operating system WIN XP Professional.  But when you try to do so, the system will NOT accept the authentication key of the user supplied with the disc.  Does anyone have an idea what might happen?  Thanks for your attention!

    Looks like you may not have used the same CD that came with the product key.

    It must match edition, architecture and type with Windows XP.

    (Home, professional, Tablet PC, Media Center, etc.)
    (x 86 or x 64)
    (OEM, retail, MSDN)

    Although the latter can be "bypassed".

  • can't activate windows xp with the product key that came with the computer

    I got a computer of 510N HP Pavilion from a friend who was absolutely riddled with viruses and malware of all kinds.  Every thing I did to clarify apparently nowhere got done or made it worse.  At the end of the day, the computer would only begin to restart, stop after the start of the HP logo screen, then start to boot, etc and more.  All I could do was to install the hard drive in another computer and format, from scratch.  Now, I'm trying to install the system to XP op for the disc that came with the computer.
    the problem: the code the product key on the case went wrong with the disc.  After searching for solutions, I found a code on the disk by searching the files it contains, tried and it worked!  Problem is when I try to turn it on, it says it's an "unauthorized product key."  I tried to enter that code on the box and who says he is "invalid".  The Cd look authentic; are for distribution with new pc HP and Compaq.  After a further inspection drives are XP Professional SP2, while if it is XP Home Edition.  What gives?  Activation does not anyway. It is any use that will not make me buy a new set of disks?

    Please let me know if more info or detail is necessary.

    PS - only a single piece of hardware has been changed - the cdrom initially provided with the computer was bad, so I went out to perform the installation.

    When you perform a restore to the factory on some HPs condition you have two choices: 1) a restoration which keeps your data and programs (in a repair installation); (2) a full destructive restore which brings back the machine to the State, it's when you first opened the box. In your case, you have already wiped the drive, so the question is moot. I would call the HP technical support. Normally when you use an OEM recovery media (HP, Dell, etc.) a product key is never required during the restore. If you have used the media to restore HP shipped with your system and are always asked for a key and one on the sticker machine is not accepted, then something is certainly. MS - MVP - Elephant Boy computers - don't panic!

Maybe you are looking for

  • Unlimited Canada renewal and e

    Hello I currently have two subscriptions unlimited US & Canada, one for me and one for my mother. I don't see this plan as a current offering. What happens when MOM membership is due to be renewed next week? Is the unlimited United States & Canada ri

  • HP Slimline 260-p009 desktop: upgrade of processor in slimlime 260-p009

    Can this product http://www8.hp.com/ca/en/products/desktops/product-detail.html?oid=11955300#! tab features = be upgraded to an i5 processor?

  • Programs for blackBerry Smartphones

    I downloaded a free software, I'm not impressed by it, how can I remove it?

  • BlackBerry Smartphones SMS / Contact Info

    Hello eveybody. This is my first post and my first BB, I have the BB Bold 9700 with T - Mo. Here's my question: How to configure the BB to display the coordinates on the text message. Whenever I get a text message it shows just the phone number not t

  • VMK dvswitch migration fails VC5.5

    Hi allHope you guys and girls can help as I feel that I have the question below and feel like I m missing something obvious...I built 3 new hosts ESXi5.5 and added to a Cluster in vCenter 5.5, I have a Setup dvswitch for vmk management adapters I've