Latest #jason Threads 
I wrote a sample module that overrides Jason.Encoder.encode protocol for Map.
defmodule JsonEncoder do
defimpl Jason.Encoder, for: Map...
New
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
StableJason is a library for encoding Elixir values to a stable JSON with deterministic sorting for keys.
It works similar like OJSON bu...
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
Hi all, I have a problem with the generation of a hash. I have a Javascript code that takes the body of a request, passes it to a string ...
New
Hi,
I’m trying to build a multi-platform Docker image based on elixir:1.17-otp-27. However, I’ve encountered an issue: the jason library...
New
Poison, the extremely fast and standards compliant JSON library for Elixir:
Poison is a JSON library for Elixir focusing on wicked-fast...
New
Hello guys! I’m developing an API only Phoenix project for pet donations, and at the moment i have the following schemas:
User schema:
...
New
code
defmodule LibJasonTest do
use ExUnit.Case
defmodule Category do
@type t :: %__MODULE__{
id: Integer.t(),
...
New
Hello!
I’m trying to set up a small Elixir app that depends on jason via another package. Using mix release works, but as soon as I set ...
New
This Week's Trending
This Month's Trending
This Year's Trending
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
StableJason is a library for encoding Elixir values to a stable JSON with deterministic sorting for keys.
It works similar like OJSON bu...
New
I wrote a sample module that overrides Jason.Encoder.encode protocol for Map.
defmodule JsonEncoder do
defimpl Jason.Encoder, for: Map...
New
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
I’m currently using a model button that referended is to another list of objects called items
When I make a POST call to the service it ...
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
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
Hello guys! I’m developing an API only Phoenix project for pet donations, and at the moment i have the following schemas:
User schema:
...
New
Poison, the extremely fast and standards compliant JSON library for Elixir:
Poison is a JSON library for Elixir focusing on wicked-fast...
New
We were notified by Panagiotis Nezis that certain payloads could take a long time to process when converted to integers. New Erlang/OTP v...
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
Hi,
I’m trying to build a multi-platform Docker image based on elixir:1.17-otp-27. However, I’ve encountered an issue: the jason library...
New
Hello,
I need to put binary data (read from a binary file) in a JSON structure, along other metadata.
Jason.encode(
%{
...
New
Hello!
I’m trying to set up a small Elixir app that depends on jason via another package. Using mix release works, but as soon as I set ...
New
code
defmodule LibJasonTest do
use ExUnit.Case
defmodule Category do
@type t :: %__MODULE__{
id: Integer.t(),
...
New
Hi all, I have a problem with the generation of a hash. I have a Javascript code that takes the body of a request, passes it to a string ...
New
Trending Over Three Years
Hello
Let me define the problem first.
I have a jsonb database column called results in my Postgres DB. When I save a value (i.e 12\25)...
New
Hello everybody.
I have just released Jason - a new JSON library.
You might be wondering, why do we need a new library? The primary foc...
New
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
I have a struct I’m trying to derive called Geo.Point. I don’t own it.
require Protocol
Protocol.derive(Jason.Encoder, Geo.Point, only: ...
New
I’m reading the options in Jason.decode but the docs don’t explain it well enough for me to fully understand the pros and cons of the opt...
New
I’m trying to seed data to phoenix database using json file.
Let’s say I have at priv/repo/seeds/some_file.json in my phoenix directory....
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
Hello, I have a very newbie question if anyone knows.
I’m using this libraries
{:ex_money, "~> 5.5.1"},
{:ex_money_sql, "~> 1.4.4...
New
Some background real quick!
I have an app that sends emails through AWS’s SES. I want to receive bounce notifications so I can properly m...
New
I have an existing camelCase JSON API that I can’t change and I want to be able to continue to use elixir snake_case naming conventions. ...
New
I configure jason in my existing application by removing the poison. But some tests are failing The error is
** (Protocol.UndefinedEr...
New
In the docs its mentioned that we can implement the custom data types with jason instead of for: Any. But what if i wanted to write it fo...
New
Below is the json I get after encoding it using Jason
"{\"topic\": \"dummy_topic\", \"msg\": \"{\"fruit\":\"apple\",\"dish\":\"apple-pie...
New
I have a class Company (Echo.Schema)
defmodule MyProject.Company do
use Ecto.Schema
...
@derive {Jason.Encoder, only: [:name]}...
New
(Please Note: Elixir Experience Level: Beginner)
From mix.exs-
defp deps do
[
{:httpoison, "~> 1.6"},
{:poison, "~> 4...
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:
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #exunit
- #elixirconf
- #discussion
- #javascript
- #podcasts
- #code-sync
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #api
- #processes
- #forms
- #metaprogramming
- #security
- #performance
- #hex







