README.md

boxjson

Build Status AppVeyor Build Status Coverage Status

Utility to transform JSON from unboxed to boxed state and vice versa.

Approach

An atom is a string, number, boolean or null object that is not an item of an array.

JSON that contains any atoms is unboxed.

JSON that does not contain any atoms is boxed.

Get it

devtools::install_github('chiefBiiko/boxjson')

Usage

boxjson::boxAtoms('{"name":"chiefBiiko","mode":"fraud"}')
# {"name":["chiefBiiko"],"mode":["fraud"]}

License

MIT



chiefBiiko/boxjson documentation built on Aug. 19, 2017, 1:54 p.m.