We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6df1180 commit c50958cCopy full SHA for c50958c
lib/ecto/adapters/sqlite3/codec.ex
@@ -81,6 +81,8 @@ defmodule Ecto.Adapters.SQLite3.Codec do
81
end
82
83
84
+ def json_encode(value) when is_bitstring(value), do: {:ok, value}
85
+
86
def json_encode(value) do
87
Application.get_env(:ecto_sqlite3, :json_library, Jason).encode(value)
88
0 commit comments