This Week's Trending
This Month's Trending
This Year's Trending
Last Three Year's Trending
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
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
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
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
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
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
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
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
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
The approximate code:
params = %{query: "https://www.lol.com"}
params = Jason.encode!(params)
HTTPoison.post(url, params, he...
New
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
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
I have this body for a request, which in Elixir is represented like this:
body = %{
password: "my\Password"
}
I use Poison.encode! to...
New
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
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
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
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
Hi again! How do I map a multi level json (response after HTTPoison.get)
Here’s my json:
[
{
"Payor": "ASMSI",
...
New
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
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
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
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
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
I got this warning
warning: the Jason.Encoder protocol has already been consolidated, an implementation for Any has no effect. If you wa...
New
The international standard for medical messages is currently moving to FHIR: Index - FHIR v5.0.0
They’ve made certain… poor choices (lik...
New
Hello!
We are working with responses from an API that contain HTML from websites. Some of these websites contain unicode code points tha...
New
Latest on Elixir Forum
Get money off!
The Pragmatic Bookshelf
35% off any eBook
Manning Publications
45% off any item
ElixirCasts
10% off for life
The Pragmatic Studio
20% off any course
AppSignal
10% off for 12 months
Honeybadger
10% off for 12 months
Simply use coupon code "devtalk.com" or "elixirforum" at checkout!
Filter by Type:
Sub Categories:
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #ash-questions
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #exunit
- #discussion
- #javascript
- #elixirconf
- #library
- #oban-questions
- #dialyzer
- #docker
- #onsite
- #authentication
- #podcasts
- #full-time-contract
- #umbrella
- #code-sync
- #ecto-query
- #phoenix_html
- #iex
- #graphql
- #genstage
- #elixir-ls
- #nerves-questions
- #podcasts-by-brainlid
- #supervisor
- #websockets
- #distillery
- #advent-of-code
- #blog-post
- #livebook-questions
- #processes
- #forms
- #api
- #metaprogramming







