Skip to content

Commit 6edb092

Browse files
committed
docs(README.md): update readme
1 parent 3e45570 commit 6edb092

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,15 @@ FormatFusion is your one-stop solution for seamless conversion between YAML, JSO
5858
Here is the example of using FormatFusion to convert yaml data to json.
5959

6060
```python
61-
import FormatFusion as ff
62-
61+
from FormatFusion.yaml_to_json import yaml_to_json
6362

6463
yaml_data = """
6564
name: John Doe
6665
age: 30
6766
city: New York
6867
"""
6968

70-
json_data = ff.yaml_to_json(yaml_data)
69+
json_data = yaml_to_json(yaml_data)
7170
print(json_data)
7271
```
7372

0 commit comments

Comments
 (0)