Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jamiebuilds/json-parser-in-typescript-very-bad-idea-please-dont-use
JSON Parser written entirely in TypeScript's type system
https://github.com/jamiebuilds/json-parser-in-typescript-very-bad-idea-please-dont-use
Last synced: 13 days ago
JSON representation
JSON Parser written entirely in TypeScript's type system
- Host: GitHub
- URL: https://github.com/jamiebuilds/json-parser-in-typescript-very-bad-idea-please-dont-use
- Owner: jamiebuilds
- Created: 2020-09-04T20:26:46.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2020-09-10T18:29:38.000Z (about 4 years ago)
- Last Synced: 2024-08-01T17:40:17.252Z (3 months ago)
- Language: TypeScript
- Homepage:
- Size: 2.93 KB
- Stars: 432
- Watchers: 4
- Forks: 5
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-list - json-parser-in-typescript-very-bad-idea-please-dont-use
README
# `json-parser-in-typescript-very-bad-idea-please-dont-use`
> JSON Parser written entirely in TypeScript's type system
```ts
import type { ParseJson } from "json-parser-in-typescript-very-bad-idea-please-dont-use"type Person = ParseJson<'{ "name": "Jamie Kyle", "twitter": "https://twitter.com/buildsghost" }'>
// {
// "name": "Jamie Kyle",
// } & {
// "twitter": "https://twitter.com/buildsghost"
// }
```[Follow me nerds](https://twitter.com/buildsghost)