aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
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}