Skip to content

Instantly share code, notes, and snippets.

View mrjbj's full-sized avatar

mrjbj mrjbj

View GitHub Profile
<link rel="import" href="../notification-elements/notification-alert.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-scroll-header-panel/core-scroll-header-panel.html">
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<link rel="import" href="../smoothie-chart/smoothie-chart.html">
<link rel="import" href="../code-mirror/code-mirror.html">
<link rel="import" href="../chart-js/chart-js.html">
defmodule MyApp.Encoder do
@moduledoc """
General implementation for the Jason encoder to be used in Ecto schemas
"""
defmacro __using__(opts) do
drop_fields = Keyword.get(opts, :drop, [])
quote do
defimpl Jason.Encoder, for: [__MODULE__] do