Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
JSON-LD là một định dạng dữ liệu liên kết dựa trên JSON, dễ sử dụng, xác định khái niệm về context để chỉ định từ vựng cho các loại và thuộc tính. Gmail hỗ trợ dữ liệu JSON-LD được nhúng trong tài liệu HTML bằng @context của schema.org, như trong ví dụ sau:
<scripttype="application/ld+json">
{"@context":"http://schema.org","@type":"Person","name":"John Doe","jobTitle":"Graduate research assistant","affiliation":"University of Dreams","additionalName":"Johnny","url":"http://www.example.com","address":{"@type":"PostalAddress","streetAddress":"1234 Peach Drive","addressLocality":"Wonderland","addressRegion":"Georgia"}}
</script>
Bạn có thể xem toàn bộ quy cách và yêu cầu đối với cú pháp JSON-LD trên json-ld.org, đồng thời bạn cũng có thể sử dụng công cụ Trình xác thực giản đồ của chúng tôi để dùng thử JSON-LD và gỡ lỗi cho mã đánh dấu của mình.
[null,null,["Cập nhật lần gần đây nhất: 2025-08-29 UTC."],[],[],null,["# JSON-LD\n\n[JSON-LD](https://json-ld.org/) is an easy-to-use JSON-based linked data format that defines the concept of `context` to specify the vocabulary for types and properties. Gmail supports [JSON-LD data embedded in HTML documents](https://json-ld.org/spec/latest/json-ld/#embedding-json-ld-in-html-documents) with the `@context` of `schema.org`, as in the following example: \n\n \u003cscript type=\"application/ld+json\"\u003e\n {\n \"@context\": \"http://schema.org\",\n \"@type\": \"Person\",\n \"name\": \"John Doe\",\n \"jobTitle\": \"Graduate research assistant\",\n \"affiliation\": \"University of Dreams\",\n \"additionalName\": \"Johnny\",\n \"url\": \"http://www.example.com\",\n \"address\": {\n \"@type\": \"PostalAddress\",\n \"streetAddress\": \"1234 Peach Drive\",\n \"addressLocality\": \"Wonderland\",\n \"addressRegion\": \"Georgia\"\n }\n }\n \u003c/script\u003e\n\n| **Note:** the `@type` key is a reserved key name and should contain either a full type URI or a URI fragment (in which case a `http://schema.org/` prefix, derived from the supplied data-context attribute, is assumed).\n\nThe full specifications and requirements for the JSON-LD syntax are available on [json-ld.org](http://json-ld.org/), and you can also use our [Schema Validator](/workspace/gmail/markup/testing-your-schema#schema_validator) tool to try out JSON-LD and debug your markup."]]