TypeTags .JSON

Overview

The JSON object contains methods for parsing JavaScript Object Notation (JSON) and converting values to JSON. It can't be called or constructed, and aside from its two method properties, it has no interesting functionality of its own.

Usage

import { TypeTags } from 'typetags'
let tag = TypeTags.get(JSON)
TypeTags.JSON === tag
// → true
console.log(tag)
// → [object JSON]

Metadata (TType)

MetadataValue
.typeJSON
.tag[object JSON]
.builtin()undefined
.getTag()[object JSON]
.hasSpecialArgs()false
.instance()undefined
.instanceTypeOf()object
.info()see more
.isAvailable()true
.isConstructor()false
.isFactory()false
.isFunction()false
.isGlobal()true
.isIterator()false
.isNested()false
.isObject()true
.isPrimitive()false
.isStringifiable()true
.isSyntatic()false
.isTypedArray()false
.ownKeys()[parse, stringify]
.toString()function toString() { [native code] }
.typeOf()object

Signature

declare type ITypeTags = {
[key in Types | NestedTypes]: Tags
}
declare interface Predicate {
predicate(value: any): boolean
}

See MDN Web Docs