public static class JSONType.NumberType extends AbstractType
JSONType.BooleanType, JSONType.DoubleType, JSONType.Empty, JSONType.Everything, JSONType.IntegerType, JSONType.NumberType, JSONType.StringType| Constructor and Description |
|---|
JSONType.NumberType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(Object obj)
The central method of JSONType; the type encompasses the values for which contains returns true.
|
String |
explain(Object obj)
Returns a non-null String explanation, suitable for display to a user, explaining why the given object fails to conform to the JSONType's contains method.
|
boolean |
isJSONArray() |
boolean |
isJSONObject() |
boolean |
isJSONPointer() |
boolean |
isJSONPrimitive() |
isOptionalpublic boolean contains(Object obj)
JSONTypecontains in interface JSONTypecontains in class AbstractTypepublic String explain(Object obj)
JSONTypeexplain in interface JSONTypeexplain in class AbstractTypepublic boolean isJSONPrimitive()
public boolean isJSONArray()
public boolean isJSONObject()
public boolean isJSONPointer()
Copyright © 2015 MuleSoft, Inc.. All rights reserved.