jsonderulo
Make sure your 'jason derulo' is featured as the first part of your json data
Install:
# python
pip install jsonderulo
poetry add jsonderulo
# not python
npm install --save @jsse/jsonderulo
yarn add @jsse/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
- Add support for 'DJ Khaled'
- polyfill/patch json/JSON module fn