ice-to-bson
v0.2.0 Ice
Ice To BSON
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);