Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom types support #296

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

jmfernandez
Copy link

I have been working on custom types support. The registration process is based on Java reflection, requiring the new type schema loader class having two static methods, schemaBuilderLoader and schemaKeywords, with very specific signatures and return values. In order to implement a new custom type, at least three classes must be written: a schema loader, a schema and a visitor.

An example is available as a couple of tests (see tests/vanilla/src/main/java/org/everit/json/schema/CustomTypeTest.java)

@coveralls
Copy link

Coverage Status

Coverage decreased (-1.5%) to 89.039% when pulling d5641e3 on jmfernandez:master into af08893 on everit-org:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants