@agen/json
v0.5.8
Published
Transformations from/to arrays
Downloads
17
Readme
@agen/json
This package contains the following functions:
jsonFromArrays
: transforms arrays to JSON objects; the first array is used as a definition of field names; It can be used to transform CSV files to objects.jsonFromStrings
: deserializes sequence of strings to JSON objects; it peforms the inverse operation for thejsonToStrings
method.jsonToArrays
: transforms JSON objects to arraysjsonToGeojson
: transforms simple JSON objects to GeoJSON format; uses defined latitude/longitude fields to define geographical positionjsonToStrings
: serializes JSON objects as strings; it peforms the inverse operation for thejsonFromStrings
method