/json-to-any-web

json-to-any-web

Primary LanguageVueMulan Permissive Software License, Version 2MulanPSL-2.0

🌐 Language

English / 中文

💡 Introduction

⚡️JsonToAny is an online code generation tool for front-end developers, which automatically generates the specified code through the JSON / Object given by the developer to improve the overall development efficiency of the team upfront.

✨ Function

The following language conversions are currently supported

  • TypeScript(Web front-end developer)
  • Java(Native Android Developer)
  • Dart(Flutter Developer)

📝 Use

Online Address:https://github.com/xietiansheng/json-to-any-webGitHub / Gitee

you can also Fork the project to customize the code generation results and freely manipulate the generated results.

🎉 Effect

JSON to TypeScript

JSON to Java

JSON to Dart

🔨 Development

# github
git clone https://github.com/xietiansheng/json-to-any-web.git

# gitee
git clone https://gitee.com/XieTS/json-to-any-web.git

# Install dependencies(recommend pnpm)
pnpm install

# Development
npm run dev

🔧 Release

npm run build:prod

🔍️ Other

# Preview Release Environment
npm run preview

# Code format check
npm run lint

# Code format check and automatic repair
npm run lint -- --fix