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.