Skip to content

Commit

Permalink
docs(README.md): update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
aliftech committed Dec 29, 2023
1 parent 3e45570 commit 6edb092
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,16 +58,15 @@ FormatFusion is your one-stop solution for seamless conversion between YAML, JSO
Here is the example of using FormatFusion to convert yaml data to json.

```python
import FormatFusion as ff
from FormatFusion.yaml_to_json import yaml_to_json
yaml_data = """
name: John Doe
age: 30
city: New York
"""
json_data = ff.yaml_to_json(yaml_data)
json_data = yaml_to_json(yaml_data)
print(json_data)
```

Expand Down

0 comments on commit 6edb092

Please sign in to comment.