Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gozala/json.ts
Types definition for arbirtary JSON
https://github.com/gozala/json.ts
json typed typescript
Last synced: 9 days ago
JSON representation
Types definition for arbirtary JSON
- Host: GitHub
- URL: https://github.com/gozala/json.ts
- Owner: Gozala
- License: mit
- Created: 2017-05-22T22:39:38.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-05-25T22:27:23.000Z (over 7 years ago)
- Last Synced: 2024-12-09T17:08:51.599Z (27 days ago)
- Topics: json, typed, typescript
- Language: TypeScript
- Size: 282 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: License.md
Awesome Lists containing this project
README
# json.ts
[![travis][travis-image]][travis-url]
[![npm][npm-image]][npm-url]
[![downloads][downloads-image]][downloads-url]
[![docs][docs-image]][docs-url]Types definition for arbirtary JSON
## Usage
### Import
```ts
import * as JSON from "json.ts"
```Arbirtary `JSON` data is represented via `JSON.Value` type. Library also
provides strictly typed versio of `parse` and `stringify` functions along
with `match` for simpler pattern match over `JSON.Value`.For detailed API overview and examples please take a look at
[API documentation][docs-url].## Install
### yarn
yarn add --save json.ts
### npm
npm install --save json.ts
[travis-image]: https://travis-ci.org/Gozala/json.ts.svg?branch=master
[travis-url]: https://travis-ci.org/Gozala/json.ts
[npm-image]: https://img.shields.io/npm/v/json.ts.svg
[npm-url]: https://npmjs.org/package/json.ts
[downloads-image]: https://img.shields.io/npm/dm/json.ts.svg
[downloads-url]: https://npmjs.org/package/json.ts
[docs-image]:https://img.shields.io/badge/typedoc-latest-ff69b4.svg?style=flat
[docs-url]:https://gozala.github.io/json.ts/