From 109fec3220ce988ed6e51fa6486480a28e7e40bd Mon Sep 17 00:00:00 2001 From: Louis Pilfold Date: Tue, 22 Feb 2022 13:27:45 +0000 Subject: Use Gleam in markdown --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 455ce08..1b0d1e0 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ gleam add gleam_json ### Encoding -```rust +```gleam import myapp.{Cat} import gleam/json.{object, string, array, int, null} @@ -35,7 +35,7 @@ pub fn cat_to_json(cat: Cat) -> String { JSON is decoded into a `Dynamic` value which can be decoded using the `gleam/dynamic` module from the Gleam standard library. -```rust +```gleam import myapp.{Cat} import gleam/json import gleam/dynamic.{field, list, int, string} -- cgit v1.2.3