← back

char/fjson

friendly JSON implementation in TypeScript

git clone https://git.t4t.associates/char/fjson

Charlotte Somsplit scanner from parser17b13b5

main
1 folder2 files
languages

files

lib/
README.md691 B
deno.json101 B

fjson

config format: "friendly JSON" for TypeScript :D

it is essentially JSON, except:

import * as fJSON from "@char/fjson";

const value = fJSON.parse("name: 'demo'\nactive: true");
// => { name: "demo", active: true }

fJSON.stringify({ name: "demo", targets: ["linux", "macos"] });
// => 'name: "demo"\ntargets: ["linux", "macos"]'