Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialStephen Harnois
8,656 PointsHelp with Json Code Block
What is wrong with this json code? I am trying to add a user with First and Last name fields.
{ "users":{ "First Name":"Mike", "Last Name":"the Frog" } }
3 Answers
Ariel Guzman
7,872 PointsThere is nothing wrong with that json, you can use http://jsonlint.com/ to check if your json has the right format. Are you sure the problem is your json?
marieyvonnecombot
27,193 PointsI think you are doing pretty well, Just have a look on the brackets. You are missing this one [] which means the users array.
Stephen Harnois
8,656 PointsThe Json was correct I was not answering the question the problem was asking. Thanks for the help.