0.0.5 • Published 5 years ago

json-value-types v0.0.5

Weekly downloads
1
License
ISC
Repository
github
Last release
5 years ago

JSON value types

Typechecking strictly for JSON's data types with value based type definitions that are also json serializable.

Only the basic types used by JSON may be checked:

  • object
  • array (structured as a fixed length tuple with positional element types or a homogenous variable length array)
  • number
  • string
  • true / false

The type definitions use literal JSON values to define the type. Because the type definitions are also valid JSON, they may be serialized or stored, etc.

This works the same as value-types, except it uses a more limited set of possible types and typechecking options, strictly based on the types in json.

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago