jlblcc / json-schema-viewer Goto Github PK
View Code? Open in Web Editor NEWJavaScript tool for visualizing json-schemas
Home Page: jlblcc.github.io/json-schema-viewer
License: The Unlicense
JavaScript tool for visualizing json-schemas
Home Page: jlblcc.github.io/json-schema-viewer
License: The Unlicense
Hi Josh,
I am working on project which requires visualy picking up schema elements and dropping in some container.
Container will finally have the elements which will indicate what data to parse from JSON response and throw away rest of JSON.
Do you think with your library I can do something similar?
Any heads up on how to do it? can you help?
Thanks.
-Amit
Hi Josh,
I am trying to use your library but getting error at line:
tv4.asyncLoad([JSV.schema], function()
Its says taht asyncLoad is not a function.
EDIT: SEEMS LIKES ITS PRESENT IN MIN.JS BUT NOT IN MAIN ONE.
Thanks
This is a fantastic tool. Would love to use it, but our schema extensively use the extends attribute of json schema to enforce inheritance kind of relationships.
Trying to install on Windows 10 64bit. Follow the doc steps. Then getting error when running initial grunt:
Running "sass:dev" (sass) task
Could not find an option named "no-cache".
Is this a version issue?
What I did is:
npm -g install bower
bower install
npm install
Then I tried to build it with grunt dev but it complained I didn't have sass and ruby installed. So I did:
npm -g install sass
npm -g install ruby
I tried again with grunt dev and in the console I had the error:
Running "env:dev" (env) task
Running "sass:dev" (sass) task
Could not find an option named "cache".
Usage: sass <input.scss> [output.css]
sass <input.scss>:<output.css> <input/>:<output/>
=== Input and Output ===================
--[no-]stdin Read the stylesheet from stdin.
--[no-]indented Use the indented syntax for input from stdin.
-I, --load-path=<PATH> A path to use when resolving imports.
May be passed multiple times.
-s, --style=<NAME> Output style.
[expanded (default), compressed]
--update Only compile out-of-date stylesheets.
=== Source Maps ========================
--[no-]source-map Whether to generate source maps.
(defaults to on)
--source-map-urls How to link from source maps to source files.
[relative (default), absolute]
--[no-]embed-sources Embed source file contents in source maps.
--[no-]embed-source-map Embed source map contents in CSS.
=== Other ==============================
--watch Watch stylesheets and recompile when they change.
--[no-]poll Manually check for changes rather than using a native watcher.
Only valid with --watch.
--[no-]stop-on-error Don't compile more files once an error is encountered.
-i, --interactive Run an interactive SassScript shell.
-c, --[no-]color Whether to emit terminal colors.
-q, --[no-]quiet Don't print warnings.
--[no-]trace Print full Dart stack traces for exceptions.
-h, --help Print this usage information.
--version Print the version of Dart Sass.
Warning: Exited with error code 64 Use --force to continue.
Aborted due to warnings.
Finally I tried grunt dev --force and it says:
Running "env:dev" (env) task
Running "sass:dev" (sass) task
Could not find an option named "cache".
Usage: sass <input.scss> [output.css]
sass <input.scss>:<output.css> <input/>:<output/>
=== Input and Output ===================
--[no-]stdin Read the stylesheet from stdin.
--[no-]indented Use the indented syntax for input from stdin.
-I, --load-path=<PATH> A path to use when resolving imports.
May be passed multiple times.
-s, --style=<NAME> Output style.
[expanded (default), compressed]
--update Only compile out-of-date stylesheets.
=== Source Maps ========================
--[no-]source-map Whether to generate source maps.
(defaults to on)
--source-map-urls How to link from source maps to source files.
[relative (default), absolute]
--[no-]embed-sources Embed source file contents in source maps.
--[no-]embed-source-map Embed source map contents in CSS.
=== Other ==============================
--watch Watch stylesheets and recompile when they change.
--[no-]poll Manually check for changes rather than using a native watcher.
Only valid with --watch.
--[no-]stop-on-error Don't compile more files once an error is encountered.
-i, --interactive Run an interactive SassScript shell.
-c, --[no-]color Whether to emit terminal colors.
-q, --[no-]quiet Don't print warnings.
--[no-]trace Print full Dart stack traces for exceptions.
-h, --help Print this usage information.
--version Print the version of Dart Sass.
Warning: Exited with error code 64 Used --force, continuing.
Running "preprocess:dev" (preprocess) task
Done, but with warnings.
At last I tried to host it with: grunt connect:server:keepalive and then when I go to http://localhost:9001 it says Cannot GET /prod/0.3.4/20180725/1/ . How can I solve this? Thanks!
See PR #14
Hi, thanks for the cool project!
Any chance it will support JSON-schema draft 7 at some point?
Cheers!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.