Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
Juliette TworseyFront End Web Development Techdegree Graduate 32,413 Points
Wordpress parse JSON function
Does anyone know which function to use to parse JSON in Wordpress?
I thought that it was either wp_remote_get(); or json_decode();, but neither will let me pass the quiz that I am taking.
As far as im aware when I did the course on creating a plugin for the WordPress badges I used json_decode()
Did you try passing the answers without the semi-colon?
So answer = json_decode() Not = json_decode();