JSON నుండి TypeScript
JSON నుండి TypeScript
మీ బ్రౌజర్లో పనిచేస్తుంది · అప్లోడ్ లేదు
ఈ సాధనం, ఈ పేజీలోని సూచనలు ప్రస్తుతం ఆంగ్లంలో ఉన్నాయి. ఇది అదే విధంగా పనిచేస్తుంది: అంతా మీ బ్రౌజర్లోనే నడుస్తుంది.
Generate TypeScript
ఈ సాధనాన్ని నడపడానికి మీ బ్రౌజర్ చాలా పాతది. దయచేసి దాన్ని అప్డేట్ చేయండి, లేదా Chrome, Edge, Firefox లేదా Safari ప్రస్తుత వెర్షన్ను ఉపయోగించండి.
- ఏదీ మీ పరికరాన్ని విడిచి వెళ్లదు
- సర్వర్ నుండి పరిమాణ పరిమితి లేదు
- సైన్-అప్ లేదు, వాటర్మార్క్ లేదు
- ఉచితం
How to convert JSON to TypeScript
- Paste your JSON, or try the example.
- Choose interface or type, export and optional fields.
- Copy or download the TypeScript.
What you get
- An interface for every object, named after its key.
- Optional fields (name?: string) for fields missing from some array items.
- Union types (string | null) where values differ.
- Keys that aren't valid names (like "created-at") are quoted.
తరచుగా అడిగే ప్రశ్నలు
Is my JSON uploaded?
No. Everything happens in your browser, and the page is blocked from uploading anything.