StreamWriter
This will append to the file at filePath
and use Newtonsoft.Json
to serialize the data to JSON in someObject
.
1 | using (var sw = new StreamWriter(filePath, true, Encoding.ASCII)) |
❤️❤️❤️ Does my content help you? Consider a small donation if this blog helped you❤️❤️❤️
❤️❤️❤️ Does my content help you? Consider a small donation if this blog helped you❤️❤️❤️