From 2ce209dac5d2459098bcd8c0f2db014d733fa3bb Mon Sep 17 00:00:00 2001 From: felixmaker <7445790+felixmaker@users.noreply.github.com> Date: Wed, 11 Oct 2023 01:26:55 +0800 Subject: [PATCH] json: update the example in the module's README.md (#19544) --- vlib/json/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/json/README.md b/vlib/json/README.md index 47d5130a0a..dd9c29b083 100644 --- a/vlib/json/README.md +++ b/vlib/json/README.md @@ -26,7 +26,7 @@ fn main() { // s := json.encode(x) println('Employee x: ${s}') - assert s == '{"name":"Peter","age":28,"salary":95000.5,"title":2}' + assert s == '{"name":"Peter","age":28,"salary":95000.5,"title":"worker"}' // y := json.decode(Employee, s)! //