| Class | Description |
|---|---|
| JsonFragment |
Abstract class for fragment resolution
|
| JsonPointer |
Implementation of IETF JSON Pointer draft, version 3
|
| JsonRef |
Representation of a JSON Reference
|
| SchemaContainer |
A JSON Schema container
|
| SchemaNode |
Representation of a schema node
|
| SchemaRegistry |
A JSON Schema registry
|
The main package which reprensents a JSON Reference is JsonRef.
Fragments play a particularly important role in JSON References, as such
there is a dedicated JsonFragment
class to help resolve a fragment into a JSON schema. It has two
implementations: JsonPointer and
IdFragment.
It should be noted that IdFragment
breaks the draft somewhat. But this is because section 5.27 of the draft is
just insane, and this class is based on the experience gathered by the author
about real-world id usage.
Copyright © 2012. All Rights Reserved.