(because why not? Oh and there's tests)
npm install tsjq
let tsjq = require('tsjq')
const someJson = '{"a": "yeah"}'
const decoded = tsjq.decode(someJson)
Notes.txt currently outlines my troubles trying to get typesafety around decoding.
I wish that I could not use any
type signatures, but that is beyond me right now ¯_(ツ)_/¯
let tsjq = require('tsjq')
const someJs = {a: "yeah"}
const encoded = tsjq.encode(someJs)
Right now I am not checking for scary stuff like functions
npm test
I originally thought this would be something like JQ (https://stedolan.github.io/jq/), but I got off track