从JSON模式生成示例JSON [英] Generate sample JSON from JSON schema
问题描述
有很多工具可以从JSON生成 JSON模式,但是我找不到任何从JSON模式生成示例JSON.
There are a number of tools available to generate JSON Schema from JSON but I can't find any to generate sample JSON from JSON Schema.
有什么建议吗?最好是在线上不涉及安装东西的东西.
Any suggestions? Preferably something online that doesn't involve installing stuff.
推荐答案
在 http://schematic-ipsum.herokuapp.com/,但我不能保证它的运行效果.它包含在JSON模式网站上的工具列表中.
There is a web based tool for generating JSON documents from JSON Schema documents at http://schematic-ipsum.herokuapp.com/ but I can't vouch for how well it works. It is included on the list of tools on the JSON Schema website.
最有可能出现否决票,因为要求工具推荐是不合时宜的.如果您用我怎样才能X?我的要求是Y"这样的短语来表达您的问题,那么您就可以避免此类投票(希望如此).
The down vote is most likely because asking for tool recomendations is considered off-topic. If you phrased your question like "How can I do X? My requirements are Y", then you avoid such downvotes (hopefully).
这篇关于从JSON模式生成示例JSON的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!