Skip to content

Commit f323eb8

Browse files
Update doc to link to encoding (#5684)
<img width="773" alt="image" src="https://github.com/user-attachments/assets/35c54731-1992-4fa1-b1b5-d42aa8b4105a" /> --------- Co-authored-by: Heath Stewart <[email protected]>
1 parent 17d1523 commit f323eb8

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

website/src/content/docs/docs/language-basics/built-in-types.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,16 @@ Built in types are related to each other according to the rules described in [ty
4242
| `offsetDateTime` | A date and time in a particular time zone, e.g. "April 10th at 3:00am in PST" |
4343
| `duration` | A duration/time period. e.g 5s, 10h |
4444

45+
:::note
46+
47+
These types do not define any specific serialization format. They represent the concept of time. Each protocol or serialization format should define the default serialization format.
48+
49+
The default encodings for various protocols are defined here:
50+
51+
- [JSON over HTTP](../libraries/http/encoding.md#utcdatetime-and-offsetdatetime)
52+
- [XML](../libraries/xml/guide.md)
53+
:::
54+
4555
## Other core types
4656

4757
| Type | Description |

0 commit comments

Comments
 (0)