@jsse/jsonderulo
v0.0.1
Published
Make sure your 'jason derulo' is featured as the first part of your json data
Downloads
2
Readme
jsonderulo
Make sure your 'jason derulo' is featured as the first part of your json data
Install:
pip install jsonderulo
poetry add jsonderulo
Usage:
python:
>>> from jsonderulo import dumps, loads, load, dump
>>> dumps({"jason": 'derulo'}) # dicts
'{"jason": "derulo"}'
>>> dumps(["data", "more data"]) # lists
'["jason derulo", "data", "more data"]'
>>> loads(dumps({"something": 'othergthing'}))
{'jason': 'derulo', 'something': 'othergthing'}
js:
> const jsonderulo = require('.')
> jsonderulo.stringify({hello: "jason"})
'{"jason":"derulo","hello":"jason"}'
> jsonderulo.stringify({hello: "jason", jason: "derulo"})
'{"jason":"derulo","hello":"jason"}'
> jsonderulo.parse(JSON.stringify({no: "jason"}))
{ jason: 'derulo', no: 'jason' }
TODO
[] polyfill/patch json module fn [] Add support for 'DJ Khaled'