Ether Framework
Unified API docs for Ether modules
Loading...
Searching...
No Matches
dev.rafex.ether.json.JsonSchemaUtils Class Reference
Collaboration diagram for dev.rafex.ether.json.JsonSchemaUtils:

Static Public Member Functions

static< T > T parseAndValidateOrThrow (final String schemaJson, final String documentJson, final TypeReference< T > typeReference)
static List< String > validate (final JsonNode schemaNode, final JsonNode documentNode)
static List< String > validate (final String schemaJson, final String documentJson)
static void validateOrThrow (final JsonNode schemaNode, final JsonNode documentNode)
static void validateOrThrow (final String schemaJson, final String documentJson)
static String violationsAsText (final List< String > violations)

Detailed Description

Definition at line 40 of file JsonSchemaUtils.java.

Member Function Documentation

◆ parseAndValidateOrThrow()

static< T > T dev.rafex.ether.json.JsonSchemaUtils.parseAndValidateOrThrow ( final String schemaJson,
final String documentJson,
final TypeReference< T > typeReference )
static

Definition at line 72 of file JsonSchemaUtils.java.

References dev.rafex.ether.json.JsonUtils.fromJson(), and validateOrThrow().

Here is the call graph for this function:

◆ validate() [1/2]

List< String > dev.rafex.ether.json.JsonSchemaUtils.validate ( final JsonNode schemaNode,
final JsonNode documentNode )
static

Definition at line 47 of file JsonSchemaUtils.java.

Referenced by validate(), and validateOrThrow().

Here is the caller graph for this function:

◆ validate() [2/2]

List< String > dev.rafex.ether.json.JsonSchemaUtils.validate ( final String schemaJson,
final String documentJson )
static

Definition at line 57 of file JsonSchemaUtils.java.

References dev.rafex.ether.json.JsonUtils.parseTree(), and validate().

Here is the call graph for this function:

◆ validateOrThrow() [1/2]

void dev.rafex.ether.json.JsonSchemaUtils.validateOrThrow ( final JsonNode schemaNode,
final JsonNode documentNode )
static

Definition at line 61 of file JsonSchemaUtils.java.

References validate().

Referenced by parseAndValidateOrThrow(), and validateOrThrow().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ validateOrThrow() [2/2]

void dev.rafex.ether.json.JsonSchemaUtils.validateOrThrow ( final String schemaJson,
final String documentJson )
static

Definition at line 68 of file JsonSchemaUtils.java.

References dev.rafex.ether.json.JsonUtils.parseTree(), and validateOrThrow().

Here is the call graph for this function:

◆ violationsAsText()

String dev.rafex.ether.json.JsonSchemaUtils.violationsAsText ( final List< String > violations)
static

Definition at line 78 of file JsonSchemaUtils.java.


The documentation for this class was generated from the following file: