public class JoltSpecBuilder
extends java.lang.Object
| Constructor and Description |
|---|
JoltSpecBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static JoltSpec |
buildSpec(java.lang.String jsonSpec)
Builds a
JoltSpec object based on the provided string representation of the json spec. |
public static JoltSpec buildSpec(java.lang.String jsonSpec) throws JoltSpecException
JoltSpec object based on the provided string representation of the json spec.
If an error occurs during the creation of the spec, a JoltSpecException is thrown.jsonSpec - the string representation of the specJoltSpecJoltSpecException - when an error occured during spec parsing