1.0.2 • Published 8 years ago

nano-sched-json v1.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

Gitter NPM version Build status Test coverage Dependency Status License Downloads

nano-sched-json

JSON parsing and stringifying nano-sched plugin

data object

  • encoding <String>
  • content <any>

Functions

json.parse(log, data)

Converts { encoding:'utf8', content: '{ a: 1}' } into { encoding:'json', content: { a: 1 } }.

json.stringify(log, data)

Converts { encoding:'json', content: { a: 1 } } into { encoding:'utf8', content: '{ a: 1 }' }.