Skip to content

Commit 5ef6b46

Browse files
authored
Update README.md
1 parent 1602fe9 commit 5ef6b46

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ with open("document.specification.yaml", "w") as d:
3434

3535
### 3) Create an instance of a Document
3636

37-
The actual instance of a document which is built (in [document.py](document.py)) can be saved in [YAML](document.yaml) or [JSON](document.json) format:
37+
The actual instance of a document which is built (in [document.py](document.py)) can be saved in [YAML](document.yaml) or [JSON](document.json) format or [BSON](document.bson) format:
3838
```
3939
doc = Document(id="MyBook")
4040
doc.title = "My life in Python"
@@ -46,4 +46,5 @@ doc.sections.append(a)
4646
4747
doc.to_json_file("document.json")
4848
doc.to_yaml_file("document.yaml")
49+
doc.to_bson_file("document.bson")
4950
```

0 commit comments

Comments
 (0)