michalmuskala / jason

A blazing fast JSON parser and generator in pure Elixir.
Other
1.58k stars 168 forks source link

Status of v1.5? #184

Closed camilleryr closed 3 months ago

camilleryr commented 3 months ago

Hello! I have been testing out the jason_native functionality using v1.5-alpha.2 and have been very pleased by the results! I noticed that the jason_native package was archived and assumed it was because it was the spawn_fest repo, but wanted to double check that including these into the stable v1.5 was still on the roadmap before moving forward with using alpha version in our production environment

michalmuskala commented 3 months ago

This likely won't be moving forward, at least not directly in Jason.

Given my work on a json module that will be released in OTP 27, my focus is primarily on that and figuring out how to integrate this seamlessly into Elixir (I'm working on a direct proposal for a Json module in Elixir stdlib). The OTP 27 module has better performance than current Jason and a more flxible API (that said, I have not compared it against the native version released as part of the 1.5 branch). My further work similar to what was done for json_native, if continued, would be applied to the OTP module (and inherited by the Elixir stdlib, if it's added there).

Long-term plan, once JSON is integrated into both Erlang and Elixir stdlibs will be to deprecate Jason.

camilleryr commented 3 months ago

Thanks for the update - found the pr for erlang after I opened the comment and I assumed as much - thanks for all of your hard work on this and getting it upstreamed into OPT, big win all around!