ice-to-bson

v0.2.0
Encode and decode ZeroC Ice objects into BSON objects
Ice

Ice To BSON npm version Build Status

Encode and decode ZeroC Ice objects into BSON objects.

Installation

npm install ice-to-bson

Usage

import {iceToBson, bsonToIce} from 'ice-to-bson';

// Convert any JS object containing Ice Object values somewhere in the tree.
// Converting Ice Structs not contained inside Ice Objects is not supported
// due to Ice limitations.
const bson = iceToBson(iceObject);

const readIceObject = bsonToIce(bson);
npm i ice-to-bson

Metadata

  • GPL-2.0
  • Whatever
  • Daniel Lytkin
  • released 1/18/2018

Downloads

Maintainers