Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/kissaki/kcode.bson
- Owner: Kissaki
- License: mit
- Created: 2022-06-04T19:04:32.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-25T17:47:30.000Z (10 months ago)
- Last Synced: 2024-12-12T16:48:49.802Z (22 days ago)
- Language: C#
- Homepage:
- Size: 34.2 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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);
```