import { JsonSchemaInferrer } from 'js-json-schema-inferrer' const sourceObject = { name: "cest jun", age: 21, favoriteFoods: ["toast", "dumplings"] } const schema = JsonSchemaInferrer(sourceObject) Configs Inferrer supports customizing configs to control the format and elements of the infe...
也可以在github 上的release上找对应的版本:https:///saasquatch/json-schema-inferrer/releases 说明:json-schema-inferrer需要java8及以上,依赖Jackson 和FindBugs (JSR305),如果在生成过程中使用了FormatInferrers,Commons Validator 需要被引入...
implementation 'com.github.saasquatch:json-schema-inferrer:0.1.4'Transitive DependenciesThis project requires Java 8. The only required transitive dependencies are Jackson and FindBugs (JSR305). If you opt into using some of the built-in FormatInferrers, Commons Validator will also be needed....
saasquatch/json-schema-inferrerPublic NotificationsYou must be signed in to change notification settings Fork39 Star180 Code Issues Pull requests Actions Security Insights Additional navigation options 05 Jan 22:27 slisaasquatch 0.2.1 34775cd ...