Code Monkey home page Code Monkey logo

json-schema-validator-demo's Introduction

What this is

This is a Heroku-based Java webapp which demonstrates usages of the following packages:

This application is available here.

Demo pages

All processors written for this site are gathered together in a single package: json-schema-processor-examples. Right now, the following pages exist:

  • full validation (schema + data) (link);
  • syntax validation (link);
  • generation of a JSON Schema from a Java source file (link);
  • generation of a Java source file form a JSON Schema (link);
  • JSON Patch (link);
  • conversion of an Avro schema to a JSON Schema (link);

Running the application locally

This application uses an embedded Jetty server and is self contained. You need to have a JDK (at least 1.6) and maven installed (3.0.x preferably, but 2.x will also work).

Into the main directory, type:

mvn clean install

This will download all necessary artifacts and prepare everything. Then run the application with:

java -cp target/classes:target/dependency/* com.github.fge.jsonschema.WebApp

The application will listen on the loopback interface, and on port 8080 by default; in order to access it, you will therefore type the following as a URL in your browser:

http://localhost:8080

json-schema-validator-demo's People

Contributors

fge avatar jsimone avatar ryanbrainard avatar

Watchers

Jim Klo avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.