2021-08-12 10:02:30 -07:00
2021-08-12 10:02:30 -07:00
2021-08-12 10:06:33 -07:00

bson2json

Convert between json and bson data types.

Usage

The bson2json module implements a toJson proc for Bson objects and a toBson proc for JsonNode objects, that recursively converts compatible object types between them both.

Why?

Because nimongo is not compatible with JsonNode, as far as I can tell. :-(

Feel free to correct me over here: https://www.reddit.com/r/nim/comments/onxhd5/json_nimongo_data_exchange/

Enjoy?

Responsibly!

Description
Convert between Nim's built-in json and nimongo's bson object types.
Readme 22 KiB
Languages
Nim 100%