Trending

#NDJSON

Latest posts tagged with #NDJSON on Bluesky

Latest Top
Trending

Posts tagged #NDJSON

Preview
GitHub - tpeczek/json-streaming-dotnet: JsonStreaming.NET is a solution that provides a set of libraries for working with asynchronous streaming data sources over HTTP using JSONL (JSON Lines) and NDJ... JsonStreaming.NET is a solution that provides a set of libraries for working with asynchronous streaming data sources over HTTP using JSONL (JSON Lines) and NDJSON (Newline Delimited JSON). - tpecz...

A couple of years ago, when I started these libraries, NDJSON was the most popular solution for JSON streaming (to optimise parsing speed and memory usage when sending large datasets).

Nowadays, it's JSONL, so I've added support for it as well 😎.

github.com/tpeczek/json...

#DotNet #NDJSON #JSONL

0 0 0 0
You load a CSV written in french iso-8895-15 and using the ";" as delimiter
You first load the CSV document. 
Then using the stream feature you convert on the fly the document into UTF-8 using mb_string extension. 
You convert and store the CSV document as a NDJson file using a list with a header. Last but not least you convert the strings into integer where it makes sense using the JsonConverter formatter capabilities.

You load a CSV written in french iso-8895-15 and using the ";" as delimiter You first load the CSV document. Then using the stream feature you convert on the fly the document into UTF-8 using mb_string extension. You convert and store the CSV document as a NDJson file using a list with a header. Last but not least you convert the strings into integer where it makes sense using the JsonConverter formatter capabilities.

Coming in the next minor version of #LeagueCSV the JsonConverter #ndjson support is improved you can now do the following #php #csv #oss

0 0 0 0
Preview
ASP.NET Core 9 and IAsyncEnumerable - Async Streaming JSON and NDJSON From Blazor WebAssembly This post explores streaming data asynchronously from Blazor based on async streamed JSON and NDJSON.

Blogged: "ASP​.NET Core 9 and IAsyncEnumerable - Async Streaming JSON and NDJSON From Blazor WebAssembly"

(www.tpeczek.com/2024/09/aspn...)

#AspNetCore #Blazor #AsyncStreaming #JSON #NDJSON

0 0 0 0