The words Under construction in black text on a yellow background with diagonal black stipes surrounding it
I'm in the process of moving my site. It's still a work in progress. Please excuse the mess and broken links.

Parse A JSON String In JavaScript

TODO: Pull subtitle into page object
Code
const jsonString = `{ "alfa": true }`
const parsed = JSON.parse(jsonString)
console.log(parsed.alfa)
Results
true

Debugging Stuff

I'm moving stuff around right now. All this below is helping me figure out where to put stuff

        -- title

Parse A JSON String In JavaScript


-- code
-- javascript

const jsonString = `{ "alfa": true }`
const parsed = JSON.parse(jsonString)
console.log(parsed.alfa)

-- results/

true

-- /results

-- categories
-- JavaScript 

-- metadata
-- date: 2023-12-17 17:16:50
-- id: 2zgl4lyi
-- site: aws
-- type: post
-- status: published