Package org.apache.synapse.commons.json.jsonprocessor.validators

# Class NullValidator

java.lang.Object
org.apache.synapse.commons.json.jsonprocessor.validators.NullValidator

public class NullValidator extends Object
This class validate null values against a given schema.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static void`
  `validateNull(com.google.gson.JsonObject inputObject, String value)`
  Validate a null input against schema.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### validateNull

    public static void validateNull(com.google.gson.JsonObject inputObject, String value) throws ValidatorException
    Validate a null input against schema.
    Parameters:
      `inputObject` - input schema.
      `value` - null value.
    Throws:
      `ValidatorException` - exception occurs in validation.