Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

JSON Objects in ColdFusion

Posted on 2010-08-16
5
Medium Priority
?
540 Views
Last Modified: 2013-12-24
I have a partner that wants to send my CFC the following Array of Objects using JSON:

[
  {
    "fullName": "Joe Strummer",
    "phoneNumber" : 2028586745,
    "city" : "Washington, DC"
  },
 {
    "fullName": "Mick Jones",
    "phoneNumber" : 2029768143,
    "city" : "Washington, DC"
 },
 {
    "fullName": "Ian MacKaye",
    "phoneNumber" : 2022675545,
    "city" : "Washington, DC"
 }
]

What's the best way to get this data into my database? I've read the following article:
http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=functions_c-d_43.html#5176845 . It's helpful but it is calling the feed rather than another application calling MY cfc. How do access the data above so I can pass it to the deserializeJSON()?
0
Comment
Question by:coconutelegraph
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 82

Expert Comment

by:leakim971
ID: 33450422
0
 

Author Comment

by:coconutelegraph
ID: 33450532
leakim971,
Thanks for the link. I'm using mySQL. What I need help with is how to access the JSON data sent to my web service in ColdFusion.
0
 
LVL 82

Accepted Solution

by:
leakim971 earned 1500 total points
ID: 33450558
0
 

Author Closing Comment

by:coconutelegraph
ID: 33504683
Thanks.
0
 
LVL 82

Expert Comment

by:leakim971
ID: 33505638
You're welcome! Thanks for the points!
0

Featured Post

Looking for a new Web Host?

Lunarpages' assortment of hosting products and solutions ensure a perfect fit for anyone looking to get their vision or products to market. Our award winning customer support and 30-day money back guarantee show the pride we take in being the industry's premier MSP.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
Objective of This Article In 1990’s, when I was a budding software professional, I had a lot of confusion about which stream or technology, I had to choose to build my career. In those days, I had lot of confusion like whether to choose System so…
The purpose of this video is to demonstrate how to make a WordPress Site faster and smaller in size by cleaning up the database. This will be demonstrated using a Windows 8 PC. Plugin WP Optimize will be used. Go to your WordPress login page. T…
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…
Suggested Courses

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question