aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorLouis Pilfold <louis@lpil.uk>2022-02-22 13:27:45 +0000
committerGitHub <noreply@github.com>2022-02-22 13:27:45 +0000
commit109fec3220ce988ed6e51fa6486480a28e7e40bd (patch)
treed298532626d1aa4dd3bf766c6150f4e465cde5d4 /README.md
parent63b433d2bb6ba30d6ce3f0957326d8352e8e55ee (diff)
downloadgleam_json-109fec3220ce988ed6e51fa6486480a28e7e40bd.tar.gz
gleam_json-109fec3220ce988ed6e51fa6486480a28e7e40bd.zip
Use Gleam in markdown
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files 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}