Latest #json Threads Top

saleyn
glazer started as a blazing-fast NIF JSON codec (single-pass, straight to/from native terms - no AST). In 0.3.0, the same engine now pars...
New
saleyn
I released a new JSON encoding/decoding library that uses NIF C++ backend and consistently outperforms most of other implementations. F...
New
igoldchluk
Hi everyone I needed a way to evaluate arbitrary JSON Path expressions, and I could not find any existing library that was fully complai...
New
andreashasse
I’m happy to announce Spectral, a library that lets your Elixir structs and @type specs become the single source of truth for validation,...
New
lpgauth
Torque is a high-performance JSON library for Elixir built on sonic-rs via Rustler NIFs. It targets workloads where JSON throughput is a ...
New
arcanemachine
I’ve been working with some pretty large JSON objects, and the inherently unordered sorting caused by parsing a struct as a map makes it ...
New
egze
StableJason is a library for encoding Elixir values to a stable JSON with deterministic sorting for keys. It works similar like OJSON bu...
New
ashkan117
I’m wondering how do people structure their JSON Api’s with Phoenix. Using the blogs example, let’s say I have a blogs view like the foll...
New
longnightElixir
I want to place some data in json files, like lib/my_app/json_store/data.json, then access them in Phoenix/liveview controller; (these ...
New
MarcusRiemer
I have loads of structs defined via typed_struct and would like to serialize and deserialize these structs to and from JSON. I am current...
New

This Week's Trending Top

saleyn
glazer started as a blazing-fast NIF JSON codec (single-pass, straight to/from native terms - no AST). In 0.3.0, the same engine now pars...
New

This Month's Trending Top

igoldchluk
Hi everyone I needed a way to evaluate arbitrary JSON Path expressions, and I could not find any existing library that was fully complai...
New
saleyn
I released a new JSON encoding/decoding library that uses NIF C++ backend and consistently outperforms most of other implementations. F...
New

This Year's Trending Top

corka149
A JSON patch is a way to define a sequence of manipulating operations on a JavaScript object. The IETF published the RFC 6902 - found he...
New
ityonemo
This one has been sitting in a dark corner of my github for several years, I started it before I knew how to publish to hex.pm but I foun...
New
lud
Hello! I would like to present to you my work of the last couple weeks, an up-to-date JSON Schema validation library. TL;DR: Repo link ...
New
libo
Hey, I have used a bunch of schema libraries in Elixir and didn’t find the one satisfies all my needs. At some point, I kinda miss Pytho...
New
arcanemachine
I’ve been working with some pretty large JSON objects, and the inherently unordered sorting caused by parsing a struct as a map makes it ...
New
andreashasse
I’m happy to announce Spectral, a library that lets your Elixir structs and @type specs become the single source of truth for validation,...
New
lpgauth
Torque is a high-performance JSON library for Elixir built on sonic-rs via Rustler NIFs. It targets workloads where JSON throughput is a ...
New

Last Three Year's Trending Top

quazar
How to set Jason to encode all fields in ecto schema, I don’t care about security and implementing only is taking long list of attributes...
New
benlime
Hey guys, I have a short and simple question, which I am currently unable to figure out using the documentation of the Jason library. ...
New
semmitmondo
How to decode a JSON object into a, for instance, keyword list while preserving the same key order that the JSON string uses? Elixir map...
New
Fl4m3Ph03n1x
Background I am trying to encode a structure into json format using the Jason library. However, this is not working as expected. Code Le...
New
solnic
Hello! Today I released the first version of Elixir Drops :slight_smile: The announcement can be found on my blog but I’m also just past...
New
walkersorlie
I’ll preface that I am very new to Elixir. I am trying to decode a paginated JSON response from my API but I am a bit lost on exactly how...
New
threeaccents
Whenever I’m writing an API I always like to create an embedded schema at the “web” level to validate and add types to my request/respons...
New
acalejos
Hey all, I originally made this for my project Merquery and decided to extract it to its own library. The README is below if you’re inte...
New
Menkir
Hi everyone, I recently released a small library built on top of Jason that converts Elixir maps and structs to JSON without loss. Atoms...
New
DarckBlezzer
Hello everyone, I’m actually studying elixir and phoenix, I’m testing phoenix I’m learning how to create a rest API JSON I’m trying to...
New
acrolink
I have already created some models and controllers using mix phx.gen.html. I need to serve context as json. My question, should I create ...
New
saleyn
I’d like to announce the release of the fastest JSON parser that outperforms other available implementations (including jiffy) by 30% or ...
New
devinus
Poison, the extremely fast and standards compliant JSON library for Elixir: Poison is a JSON library for Elixir focusing on wicked-fast...
New
petrus-jvrensburg
Just for anyone else running into the same thing: I have a JSON (actually JSONB) field in Postgres that’s defined as a map field on my ec...
New
acrolink
How do you provide pagination and filtering to your Phoenix Framework JSON APIs? Couple of years ago I used Scrivener and Inquisitor but...
New

Trending Over Three Years Top

stefanchrobot
What’s the safe way to decode a JSON string into a struct? I want to avoid calling String.to_atom. Jason.decode can give me a map with st...
New
zenw0lf
Hello all! For those wanting to try your hands at Elixir / Phoenix, I wrote a comprehensive tutorial on doing a simple JSON API with sai...
New
shahryarjb
Hello, I have a struct that was made with preload, this output cannot be converted to json encode. it should be noted, I can’t use @deri...
New
theoks
I have this body for a request, which in Elixir is represented like this: body = %{ password: "my\Password" } I use Poison.encode! to...
New
afulki
Simply, I have a swagger document for a web-service, I want to validate that the response from the service (JSON) matches the format d...
New
Qqwy
So for Planga, we are experimenting with communicating between nodes (written in different languages; in our case we currently have an El...
New
zenw0lf
Hello all! I just finished a full step-by-step tutorial on how to build a JSON API with Phoenix: https://lobotuerto.com/blog/building-a...
New
fireproofsocks
I’ve got an Ecto schema that has a column where I store some random data from a 3rd-party provider. This is mostly just for book-keeping...
New
coby
Hi Everyone! First time writer, long time reader here. I’ve been using Elixir for the past two years or so, and I’ve noticed that every...
New
wernerlaude
I try to render a view as json. router: pipeline :api do plug :accepts, ["json"] end scope "/api", MyAppWeb do pipe_through :api ...
New
gavid
In JSON, it is possible in some formats (e.g. OpenAPI, React-JSON-Schema-Forms etc.) to use the $ref keyword as a rough parallel of macro...
New
foggy
I have a Phoenix api that needs to make a couple of post requests. I am fully aware that there are easier options for me than calling :ht...
New
webdeb
Hi, we have an NextJS Frontend Application which is basically React. Now we would like to use a Phoenix App as a Service for some Live d...
New
ltgaxkeh
Hi again! How do I map a multi level json (response after HTTPoison.get) Here’s my json: [ { "Payor": "ASMSI", ...
New
mcintyre1994
If I have a struct (with maybe some nested structs), and it has atom keys, what’s the most idiomatic way to get from user input in the fo...
New
  • Follow
  • Join
  • Shape
the conversation

Latest on Elixir Forum

Elixir Forum

Similar Portals

    None added yet

We're in Beta

About us Mission Statement