Packages

Encode and decode JSON from and to Gleam types

Current section

Files

Jump to
convert_json src convert_json.erl
Raw

src/convert_json.erl

-module(convert_json).
-compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch]).
-define(FILEPATH, "src/convert_json.gleam").
-export([main/0]).
-if(?OTP_RELEASE >= 27).
-define(MODULEDOC(Str), -moduledoc(Str)).
-define(DOC(Str), -doc(Str)).
-else.
-define(MODULEDOC(Str), -compile([])).
-define(DOC(Str), -compile([])).
-endif.
?MODULEDOC(false).
-file("src/convert_json.gleam", 3).
?DOC(false).
-spec main() -> nil.
main() ->
gleam_stdlib:println(<<"Hello from convert_json!"/utf8>>).