Class JsonExtensions
Provides extension methods for JSON-related operations.
public static class JsonExtensions
- Inheritance
-
JsonExtensions
- Inherited Members
Methods
CopyToBson(string, string, FileMode)
Reads JSON content from the specified input file and writes it as BSON to the output file. By default, uses CreateNew, which requires the output file to not already exist.
public static void CopyToBson(string inputPath, string outputPath, FileMode fileMode = FileMode.CreateNew)