Package com.github.erosb.jsonsKema
Class JsonArray
-
- All Implemented Interfaces:
-
com.github.erosb.jsonsKema.IJsonArray,com.github.erosb.jsonsKema.IJsonValue
public final class JsonArray extends JsonValue implements IJsonArray<JsonValue>
-
-
Field Summary
Fields Modifier and Type Field Description private final List<JsonValue>elementsprivate final SourceLocationlocation
-
Method Summary
Modifier and Type Method Description List<JsonValue>getElements()SourceLocationgetLocation()IJsonValuemarkEvaluated(Integer idx)UnitmarkAllEvaluated()Booleanequals(Object other)-
Methods inherited from class com.github.erosb.jsonsKema.JsonValue
hashCode, toString -
Methods inherited from class com.github.erosb.jsonsKema.IJsonValue
accept, jsonTypeAsString, maybeArray, maybeNumber, maybeObject, maybeString, requireArray, requireBoolean, requireInt, requireNull, requireNumber, requireObject, requireString -
Methods inherited from class com.github.erosb.jsonsKema.IJsonArray
get, length, markUnevaluated -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
JsonArray
JsonArray(List<JsonValue> elements, SourceLocation location)
-
-
Method Detail
-
getElements
List<JsonValue> getElements()
-
getLocation
SourceLocation getLocation()
-
markEvaluated
IJsonValue markEvaluated(Integer idx)
-
markAllEvaluated
Unit markAllEvaluated()
-
-
-
-