This Week's Trending Top

This Month's Trending Top

This Year's Trending Top

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
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
chris-menz
Hi all, I’m trying to grab some data from a txt file online and running into a strange error when trying to use Jason.decode and Poison.d...
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
stuartc
I’m trying to generate a stream of JSON from an Ecto stream to be sent out via send_chunked/2 and chunk/2. It appears that all the JSON ...
New
shahryarjb
I asked a question on Slack, and I’m now beginning to understand the dependencies and complexities involved, so I’m posting this question...
New
lukeclopez
The approximate code: params = %{query: "https://www.lol.com"} params = Jason.encode!(params) HTTPoison.post(url, params, he...
New
dpreston
Is there a built-in way to decode json that has a list of objects that are not decoded to the same struct, and the list is not at the roo...
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
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
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
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
ltgaxkeh
Hi again! How do I map a multi level json (response after HTTPoison.get) Here’s my json: [ { "Payor": "ASMSI", ...
New
mikunn
I’m trying to debug large memory spikes in our production environment. I tried to see if I could create something similar with as minimal...
New
jeromedoyle
Does anyone have an example of using Ecto Schemas for parsing JSON api responses? I'm curious how you can convert this { "id": 28...
New
kirqe
Hi. I'm getting binary in json response body instead of a string. It's probably because the response json is too big. What can I do in ...
New
austinsmorris
Does anybody know of a JSON backend for Logger that works with the updates in elixir 1.10? I had been using logger_json but that broke p...
New
Sebb
In Jason/Poison it is possibe to encode tuple values using defimpl Encoder, for: Tuple do def encode(data, options) when is_tuple(data...
New
tanweerdev
I got this warning warning: the Jason.Encoder protocol has already been consolidated, an implementation for Any has no effect. If you wa...
New
darkmarmot
The international standard for medical messages is currently moving to FHIR: Index - FHIR v5.0.0 They’ve made certain… poor choices (lik...
New
rnice01
Hello! We are working with responses from an API that contain HTML from websites. Some of these websites contain unicode code points tha...
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