From 20c524c5e29282d3c91e8155c496865dee2c3c73 Mon Sep 17 00:00:00 2001
From: "Brian G. Merrell" Marshaler
interface. When the JSON encoder receives a value that implements that interface,
the encoder invokes the value's marshaling method to convert it to JSON
instead of doing the standard conversion.
-The encoder checks this property at run time with a type assertion like:
+The encoder checks this property at run time with a type assertion like:
@@ -3254,7 +3254,7 @@ for try := 0; try < 2; try++ {
-The second if
statement here is another type assertion.
+The second if
statement here is another type assertion.
If it fails, ok
will be false, and e
will be nil
.
If it succeeds, ok
will be true, which means the
--
2.48.1