diff options
author | Louis Pilfold <louis@lpil.uk> | 2022-02-22 13:27:45 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-22 13:27:45 +0000 |
commit | 109fec3220ce988ed6e51fa6486480a28e7e40bd (patch) | |
tree | d298532626d1aa4dd3bf766c6150f4e465cde5d4 /README.md | |
parent | 63b433d2bb6ba30d6ce3f0957326d8352e8e55ee (diff) | |
download | gleam_json-109fec3220ce988ed6e51fa6486480a28e7e40bd.tar.gz gleam_json-109fec3220ce988ed6e51fa6486480a28e7e40bd.zip |
Use Gleam in markdown
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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} |