Skip to content

Roadmap

fge edited this page Aug 31, 2012 · 127 revisions

In 1.0

Ability to register format specifiers

This would allow to separate the package cleanly. Formats defined by the draft but which nobody would use anyway could be ousted to a separate project entirely.

In 0.6

Better error messages

Right now, they are poor, to say the least.

Make a structured (JSON based?) validation message class containing all the necessary information.

DONE

Strict RFC compliance mode for host-name and email format specifiers

Current versions choose to adopt the users' point of view: emails and hostnames should have a domain part. However, there is no requirement at all in the relevant RFCs that either have one. Introduce the ability to restore RFC compliance.

DONE

In 0.5.x: bug fixes only

All features have been implemented, and the user API is stable.

And for the future...

Android support

Android is a platform with many potential uses for such a library. Check compatibility, and see the cost to make the library fully compatible.

Accepting input from other JSON libraries

Jackson is the library to use for anyone wanting to do JSON in Java, but there are plenty others. Design an interface of some sort so that people can transform their existing JSON data to JsonNode.

Untangle the type/disallow/extends/dependencies mess

These 4 keywords can potentially spawn other validators from within themselves. The draft is written like this... Try and find a more generic way to spawn validators: array and object validation in general also spawn validators.

This potentially requires a complete change of the internals. Also, there is the difficuly that we want to keep the "keyword validators built by reflection" feature, which is the accelerating feature of this library.

Clone this wiki locally