Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kissaki/kcode.bson

.NET BSON Library
https://github.com/kissaki/kcode.bson

Last synced: 21 days ago
JSON representation

.NET BSON Library

Awesome Lists containing this project

README

        

# KCode.BSON

A library for BSON de-/serialization.

Serialization is WIP.

Deserialize a BSON file into a [System.Text.Json.Nodes.JsonObject](https://docs.microsoft.com/en-us/dotnet/api/system.text.json.nodes.jsonobject?view=net-6.0):

```csharp
var f = File.ReadAllBytes("file.bson");
var jsonObject = BsonSerializer.DeserializeDocument(f);
```