Comments (3)
插眼。对输出结果加一层包装器
from pojo2json.
我觉得更好的交互是这样的:一个按钮是 正常的 copy json,如果配置了包装器,可以再增加一个按钮,copy json with包装器,因为一般结果的返回需要包装,接口的输入一般不需要包装
from pojo2json.
有道理,全局包装器不太合适。
目前在考虑json注释的包装器,也有加注释和不加注释两个选项,因为不是所有编辑器都能正确解析带注释的json。 这里和这个功能组合就有点问题:接口输入不带包装,输出带包装,但无论输入输出都需要带注释。
只用一个包装器无法同时满足。拆成两个包装器又选项又很多。
我在考虑是否只把注释做成开关,这个功能做成选项。但我不是很确定:是否会有很多用户经常会吧json结果放到多种编辑器里用,至少我个人会这么做。
from pojo2json.
Related Issues (20)
- Support for member class HOT 4
- 功能请求:模拟实际使用的随机值 HOT 6
- 可否不直接进入某个类文件,用于支持泛型 HOT 1
- RFC: I want this plugin to integrate with HTTP Client plugin. HOT 3
- Consider adding the possibility of setting max string size for random values HOT 5
- StackOverflow on Idea 2022.2 HOT 4
- 能支持继承的父类class文件吗 HOT 8
- Unable to handle JsonNode HOT 4
- 快捷使用建议: 上调复制JSON的层级以及增加新的快捷栏目. HOT 1
- 一个java bean里没有`key`字段,但有`getKey`方法,支持copyToJson吗? HOT 2
- 大佬请教下,依赖包里的类无法转换么? HOT 2
- 1.2.6版本 copy json and random values 时报了NPE HOT 5
- 是否考虑添加带注释的转换选项? HOT 2
- RFC: Support snake_case in the Json keys HOT 1
- Map, MultiValuedMap converts to empty section HOT 1
- List<HashMap<String,String>>会提示This class reference level exceeds maximum limit or has nested references! HOT 1
- 先前版本支持copy不生成随机值,现版本不支持?或在哪里设置。文档未说明 HOT 6
- 目前不支持scala的case class,是否考虑适配一下scala的case class HOT 1
- Incompatible with Idea 2024.1 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pojo2json.