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 trialSamuel Havard
6,650 Pointsjson.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 2 column 1 (char 2) / JSON file
If you receive the following error while trying to use the JSON that was linked in the first video, it's because as the error states, that JSON is missing a bunch of double quotes
json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 2 column 1 (char 2)
try using this:
{ "accession_number": "2000.12.13", "artist": "Martha Hale Harvey", "continent": "North America", "country": "United States", "creditline": "The McClurg Photography Purchase Fund", "culture": null, "dated": "1899", "department": "Photography & New Media", "description": "boat with 2 masts in front of a bridge with a lift gate; 2 rowboats in water at L; buildings at L; trees at R", "dimension": "9 1/4 x 11 1/2 in. (23.5 x 29.21 cm) (image, sheet) 11 3/4 x 13 1/2 in. (29.85 x 34.29 cm) (mount)", "id": "http://api.artsmia.org/objects/148", "image": "valid", "image_copyright": "", "image_height": 3544, "image_width": 4388, "life_date": "American, 1862-1949", "marks": "Inscription; Signature ", "medium": "platinum print", "nationality": "American", "provenance": "", "restricted": 0, "rights_type": "Public Domain", "role": "Artist", "room": "Not on View", "style": "19th century", "text": "", "title": "Annisquam, Massachusetts" }