DeepLcom / deepl-python

Official Python library for the DeepL language translation API.
https://www.deepl.com
MIT License
1.11k stars 80 forks source link

Add translate nested json #65

Closed YuryHrytsuk closed 1 year ago

YuryHrytsuk commented 1 year ago

I want to translate json:

{'key': {'nested_key': 'value'}}

and get

{'key': {'nested_key': 'translated_value'}}
daniel-jones-deepl commented 1 year ago

Hi @YuryHrytsuk, thanks for creating this issue.

We just added an example for translating JSON in the way you want.